rust/tests/ui/usize-generic-argument-parent.rs

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 01:21:01 +00:00
let x: usize<foo>; //~ ERROR const arguments are not allowed on builtin type `usize`
}
fn main() {}