]> git.lizzy.rs Git - rust.git/blob - src/test/ui/usize-generic-argument-parent.rs
Rollup merge of #76858 - rcvalle:rust-lang-exploit-mitigations, r=steveklabnik
[rust.git] / src / test / ui / usize-generic-argument-parent.rs
1 fn foo() {
2     let x: usize<foo>; //~ ERROR const arguments are not allowed for this type
3 }
4
5 fn main() {}