Files
rust/tests/ui/attributes/invalid-reprs.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
213 B
Rust
Raw Normal View History

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
}