summaryrefslogtreecommitdiffstats
path: root/tests/ui/usize-generic-argument-parent.rs
blob: 4ab80d944a56fd98fd6ff3e1ab211c175b56c276 (plain)
1
2
3
4
5
fn foo() {
    let x: usize<foo>; //~ ERROR const arguments are not allowed on builtin type `usize`
}

fn main() {}