rust/tests/ui/issues/issue-47094.stderr

26 lines
914 B
Plaintext
Raw Normal View History

error[E0566]: conflicting representation hints
--> $DIR/issue-47094.rs:1:8
|
LL | #[repr(C, u8)]
| ^ ^^
2020-01-27 23:27:57 +00:00
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
2022-09-18 15:55:36 +00:00
= note: `#[deny(conflicting_repr_hints)]` on by default
error[E0566]: conflicting representation hints
2020-01-27 23:27:57 +00:00
--> $DIR/issue-47094.rs:8:8
|
2018-02-23 00:42:32 +00:00
LL | #[repr(C)]
| ^
2020-01-27 23:27:57 +00:00
LL |
2018-02-23 00:42:32 +00:00
LL | #[repr(u8)]
| ^^
2020-01-27 23:27:57 +00:00
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0566`.