]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/infer/uninferred-consts.rs
1 // Test that we emit an error if we cannot properly infer a constant.
3 // taken from https://github.com/rust-lang/rust/issues/70507#issuecomment-615268893
6 fn foo
<const A
: usize, const B
: usize>(self) {}
10 //~^ ERROR type annotations needed