]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-74082.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-74082.stderr
1 error[E0517]: attribute should be applied to an enum
2   --> $DIR/issue-74082.rs:3:8
3    |
4 LL | #[repr(i128)]
5    |        ^^^^
6 LL | struct Foo;
7    | ----------- not an enum
8
9 error[E0517]: attribute should be applied to an enum
10   --> $DIR/issue-74082.rs:6:8
11    |
12 LL | #[repr(u128)]
13    |        ^^^^
14 LL | struct Bar;
15    | ----------- not an enum
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0517`.