summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-47094.stderr
blob: e323ce660290c68d9f1184e212d566c554504484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error[E0566]: conflicting representation hints
  --> $DIR/issue-47094.rs:1:8
   |
LL | #[repr(C, u8)]
   |        ^  ^^
   |
   = note: `#[deny(conflicting_repr_hints)]` on by default
   = 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[E0566]: conflicting representation hints
  --> $DIR/issue-47094.rs:8:8
   |
LL | #[repr(C)]
   |        ^
LL |
LL | #[repr(u8)]
   |        ^^
   |
   = 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`.