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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
116 B
Rust
Raw Normal View History

fn foo() {
2022-06-20 09:21:01 +08:00
let x: usize<foo>; //~ ERROR const arguments are not allowed on builtin type `usize`
}
fn main() {}