]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gate/issue-43106-gating-of-derive.stderr
New upstream version 1.24.1+dfsg1
[rustc.git] / src / test / ui / feature-gate / issue-43106-gating-of-derive.stderr
1 error: `derive` may only be applied to structs, enums and unions
2 --> $DIR/issue-43106-gating-of-derive.rs:14:1
3 |
4 14 | #![derive(Debug)]
5 | ^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug)]`
6
7 error: `derive` may only be applied to structs, enums and unions
8 --> $DIR/issue-43106-gating-of-derive.rs:17:1
9 |
10 17 | #[derive(Debug)]
11 | ^^^^^^^^^^^^^^^^
12
13 error: `derive` may only be applied to structs, enums and unions
14 --> $DIR/issue-43106-gating-of-derive.rs:20:17
15 |
16 20 | mod inner { #![derive(Debug)] }
17 | ^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug)]`
18
19 error: `derive` may only be applied to structs, enums and unions
20 --> $DIR/issue-43106-gating-of-derive.rs:23:5
21 |
22 23 | #[derive(Debug)]
23 | ^^^^^^^^^^^^^^^^
24
25 error: `derive` may only be applied to structs, enums and unions
26 --> $DIR/issue-43106-gating-of-derive.rs:36:5
27 |
28 36 | #[derive(Debug)]
29 | ^^^^^^^^^^^^^^^^
30
31 error: `derive` may only be applied to structs, enums and unions
32 --> $DIR/issue-43106-gating-of-derive.rs:40:5
33 |
34 40 | #[derive(Debug)]
35 | ^^^^^^^^^^^^^^^^
36
37 error: aborting due to 6 previous errors
38