]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-43988.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-43988.stderr
1 error: malformed `repr` attribute input
2 --> $DIR/issue-43988.rs:24:5
3 |
4 LL | #[repr]
5 | ^^^^^^^ help: must be of the form: `#[repr(C)]`
6
7 error: malformed `repr` attribute input
8 --> $DIR/issue-43988.rs:34:14
9 |
10 LL | let _z = #[repr] 1;
11 | ^^^^^^^ help: must be of the form: `#[repr(C)]`
12
13 error[E0518]: attribute should be applied to function or closure
14 --> $DIR/issue-43988.rs:5:5
15 |
16 LL | #[inline]
17 | ^^^^^^^^^
18 LL | let _a = 4;
19 | ----------- not a function or closure
20
21 error[E0518]: attribute should be applied to function or closure
22 --> $DIR/issue-43988.rs:10:5
23 |
24 LL | #[inline(XYZ)]
25 | ^^^^^^^^^^^^^^
26 LL | let _b = 4;
27 | ----------- not a function or closure
28
29 error[E0552]: unrecognized representation hint
30 --> $DIR/issue-43988.rs:14:12
31 |
32 LL | #[repr(nothing)]
33 | ^^^^^^^
34
35 error[E0552]: unrecognized representation hint
36 --> $DIR/issue-43988.rs:18:12
37 |
38 LL | #[repr(something_not_real)]
39 | ^^^^^^^^^^^^^^^^^^
40
41 error[E0518]: attribute should be applied to function or closure
42 --> $DIR/issue-43988.rs:30:5
43 |
44 LL | #[inline(ABC)]
45 | ^^^^^^^^^^^^^^
46 LL | foo();
47 | ----- not a function or closure
48
49 error: aborting due to 7 previous errors
50
51 Some errors have detailed explanations: E0518, E0552.
52 For more information about an error, try `rustc --explain E0518`.