rust/src/test/ui/usize-generic-argument-parent.rs
2022-06-20 21:27:42 -07:00

6 lines
116 B
Rust

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