Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
infer
/
cannot-infer-const-args.rs
blob: f85a72910aff151b769aafbc5eb42d5dfaec2955 [
file
] [
log
] [
blame
] [
edit
]
fn
foo
<
const
X
:
usize
>()
->
usize
{
0
}
fn
main
()
{
foo
();
//~ ERROR type annotations needed
}