rust/src/test/ui/conflicting-repr-hints.stderr

69 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
warning[E0566]: conflicting representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:9:8
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(C, u64)]
2018-08-08 07:28:26 -05:00
| ^ ^^^
warning[E0566]: conflicting representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:12:8
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(u32, u64)]
2018-08-08 07:28:26 -05:00
| ^^^ ^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:19:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | struct F(i32);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:23:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | struct G(i32);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:27:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | struct H(i32);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^
error[E0634]: type has conflicting packed representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:30:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | struct I(i32);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^
error[E0634]: type has conflicting packed representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:34:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | struct J(i32);
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:40:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | / union X {
2018-08-08 07:28:26 -05:00
LL | | i: i32
LL | | }
| |_^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:46:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | / union Y {
2018-08-08 07:28:26 -05:00
LL | | i: i32
LL | | }
| |_^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 09:56:47 -06:00
--> $DIR/conflicting-repr-hints.rs:52:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | / union Z {
2018-08-08 07:28:26 -05:00
LL | | i: i32
LL | | }
| |_^
error: aborting due to 8 previous errors