rust/tests/ui/usize-generic-argument-pare...

6 lines
116 B
Rust

fn foo() {
let x: usize<foo>; //~ ERROR const arguments are not allowed on builtin type `usize`
}
fn main() {}