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

71 lines
1.7 KiB
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
warning[E0566]: conflicting representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:9:8
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | #[repr(C, u64)]
2018-08-08 14:28:26 +02:00
| ^ ^^^
warning[E0566]: conflicting representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:12:8
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | #[repr(u32, u64)]
2018-08-08 14:28:26 +02:00
| ^^^ ^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:19:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | struct F(i32);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:23:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | struct G(i32);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:27:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | struct H(i32);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^
error[E0634]: type has conflicting packed representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:30:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | struct I(i32);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^
error[E0634]: type has conflicting packed representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:34:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | struct J(i32);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:40:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | / union X {
2018-08-08 14:28:26 +02:00
LL | | i: i32
LL | | }
| |_^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:46:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | / union Y {
2018-08-08 14:28:26 +02:00
LL | | i: i32
LL | | }
| |_^
error[E0587]: type has conflicting packed and align representation hints
2018-12-25 08:56:47 -07:00
--> $DIR/conflicting-repr-hints.rs:52:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | / union Z {
2018-08-08 14:28:26 +02:00
LL | | i: i32
LL | | }
| |_^
error: aborting due to 8 previous errors
2019-10-18 19:00:35 +02:00
Some errors have detailed explanations: E0566, E0587.
For more information about an error, try `rustc --explain E0566`.