]> git.lizzy.rs Git - rust.git/blob - src/test/ui/usize-generic-argument-parent.rs
Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-aman
[rust.git] / src / test / ui / usize-generic-argument-parent.rs
1 fn foo() {
2     let x: usize<foo>; //~ ERROR const arguments are not allowed on this type
3 }
4
5 fn main() {}