about summary refs log tree commit diff
path: root/tests/ui/attributes/invalid-reprs.rs
blob: 95ed14b549163e6575e7637dfd3b0ce679da9366 (plain)
1
2
3
4
5
6
fn main() {
    let y = #[repr(uwu(4))]
    //~^ ERROR attributes on expressions are experimental
    //~| ERROR unrecognized representation hint
    (&id(5)); //~ ERROR: cannot find function `id` in this scope
}