]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-31769.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-31769.stderr
CommitLineData
8faf50e0 1error[E0518]: attribute should be applied to function or closure
0731742a 2 --> $DIR/issue-31769.rs:2:5
8faf50e0 3 |
532ac7d7 4LL | #[inline] struct Foo;
8faf50e0
XL
5 | ^^^^^^^^^ ----------- not a function or closure
6
72b1a166 7error[E0517]: attribute should be applied to a struct, enum, or union
0731742a 8 --> $DIR/issue-31769.rs:3:12
8faf50e0 9 |
532ac7d7 10LL | #[repr(C)] fn foo() {}
dc9dc135 11 | ^ ----------- not a struct, enum, or union
8faf50e0
XL
12
13error: aborting due to 2 previous errors
14
48663c56 15Some errors have detailed explanations: E0517, E0518.
8faf50e0 16For more information about an error, try `rustc --explain E0517`.