summary refs log tree commit diff
path: root/src/test/ui/repr.stderr
blob: e756510a437c844ab8ed6925683e4a6a8d5730e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: malformed `repr` attribute input
  --> $DIR/repr.rs:1:1
   |
LL | #[repr]
   | ^^^^^^^ help: must be of the form: `#[repr(C, packed, ...)]`

error: malformed `repr` attribute input
  --> $DIR/repr.rs:4:1
   |
LL | #[repr = "B"]
   | ^^^^^^^^^^^^^ help: must be of the form: `#[repr(C, packed, ...)]`

error: malformed `repr` attribute input
  --> $DIR/repr.rs:7:1
   |
LL | #[repr = "C"]
   | ^^^^^^^^^^^^^ help: must be of the form: `#[repr(C, packed, ...)]`

error: aborting due to 3 previous errors