rust/src/test/ui/repr/repr-packed-contains-align.stderr

60 lines
2.1 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:19:1
2018-08-08 07:28:26 -05:00
|
LL | struct SC(SA); //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
| ^^^^^^^^^^^^^^
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:22:1
2018-08-08 07:28:26 -05:00
|
LL | struct SD(SB); //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
| ^^^^^^^^^^^^^^
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:25:1
2018-08-08 07:28:26 -05:00
|
LL | struct SE(UA); //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
| ^^^^^^^^^^^^^^
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:28:1
2018-08-08 07:28:26 -05:00
|
LL | struct SF(UB); //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
| ^^^^^^^^^^^^^^
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:31:1
2018-08-08 07:28:26 -05:00
|
LL | / union UC { //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
LL | | a: UA
LL | | }
| |_^
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:36:1
2018-08-08 07:28:26 -05:00
|
LL | / union UD { //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
LL | | n: UB
LL | | }
| |_^
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:41:1
2018-08-08 07:28:26 -05:00
|
LL | / union UE { //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
LL | | a: SA
LL | | }
| |_^
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2018-12-25 09:56:47 -06:00
--> $DIR/repr-packed-contains-align.rs:46:1
2018-08-08 07:28:26 -05:00
|
LL | / union UF { //~ ERROR: packed type cannot transitively contain a `[repr(align)]` type
LL | | n: SB
LL | | }
| |_^
error: aborting due to 8 previous errors
For more information about this error, try `rustc --explain E0588`.