fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
914 B25 linesraw
1error[E0566]: conflicting representation hints
2  --> $DIR/issue-47094.rs:1:8
3   |
4LL | #[repr(C, u8)]
5   |        ^  ^^
6   |
7   = note: `#[deny(conflicting_repr_hints)]` on by default
8   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9   = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
10
11error[E0566]: conflicting representation hints
12  --> $DIR/issue-47094.rs:8:8
13   |
14LL | #[repr(C)]
15   |        ^
16LL |
17LL | #[repr(u8)]
18   |        ^^
19   |
20   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
21   = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0566`.