summaryrefslogtreecommitdiffstats
path: root/tests/ui/invalid/invalid-path-in-const.rs
blob: 51eb860721190944fe40ad4e51a363f60d46dc3a (plain)
1
2
3
4
fn main() {
    fn f(a: [u8; u32::DOESNOTEXIST]) {}
    //~^ ERROR no associated item named `DOESNOTEXIST` found for type `u32`
}