This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
96ac7d8b5e
rust
/
tests
/
ui
/
inline-const
/
const-expr-inference.rs
10 lines
111 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ check-pass
Add unit test for issue 78132
2021-10-03 16:03:34 +01:00
pub
fn
todo
<
T
>
(
)
->
T
{
const
{
todo!
(
)
}
}
fn
main
(
)
{
let
_
:
usize
=
const
{
0
}
;
}
Reference in a new issue
Copy permalink