rust/src/test/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
105 B
Rust
Raw Normal View History

fn foo() {
2022-06-01 23:55:30 +00:00
let x: usize<foo>; //~ ERROR const arguments are not allowed on this type
}
fn main() {}