summaryrefslogtreecommitdiffstats
path: root/src/test/ui/repr/repr-align-assign.stderr
blob: b878ae0d17337a4c07eb65748f757ef936b48b3a (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
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)`

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: aborting due to 4 previous errors

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