]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-74082.stderr
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[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`.