rust/tests/ui/usize-generic-argument-parent.rs
2023-01-11 09:32:08 +00:00

6 lines
116 B
Rust

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