summaryrefslogtreecommitdiffstats
path: root/tests/ui/repr/repr-align-assign.stderr
blob: 3606d02210ba0f272ab6d322bb28fab3a89eb666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
error[E0693]: incorrect `repr(align)` attribute format
  --> $DIR/repr-align-assign.rs:5:8
   |
LL | #[repr(align=8)]
   |        ^^^^^^^ help: use parentheses instead: `align(8)`

error[E0693]: incorrect `repr(align)` attribute format
  --> $DIR/repr-align-assign.rs:9:8
   |
LL | #[repr(align="8")]
   |        ^^^^^^^^^ help: use parentheses instead: `align(8)`

error[E0693]: incorrect `repr(align)` attribute format
  --> $DIR/repr-align-assign.rs:5:8
   |
LL | #[repr(align=8)]
   |        ^^^^^^^ help: use parentheses instead: `align(8)`
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error[E0693]: incorrect `repr(align)` attribute format
  --> $DIR/repr-align-assign.rs:9:8
   |
LL | #[repr(align="8")]
   |        ^^^^^^^^^ help: use parentheses instead: `align(8)`
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0693`.