]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/issue-43106-gating-of-derive.stderr
Allow combining -Cprofile-generate and -Cpanic=unwind when targeting
[rust.git] / src / test / ui / feature-gates / issue-43106-gating-of-derive.stderr
1 error[E0774]: `derive` may only be applied to structs, enums and unions
2   --> $DIR/issue-43106-gating-of-derive.rs:4:1
3    |
4 LL | #[derive(Debug)]
5    | ^^^^^^^^^^^^^^^^
6
7 error[E0658]: inner macro attributes are unstable
8   --> $DIR/issue-43106-gating-of-derive.rs:7:20
9    |
10 LL |     mod inner { #![derive(Debug)] }
11    |                    ^^^^^^
12    |
13    = note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
14    = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable
15
16 error[E0774]: `derive` may only be applied to structs, enums and unions
17   --> $DIR/issue-43106-gating-of-derive.rs:7:17
18    |
19 LL |     mod inner { #![derive(Debug)] }
20    |                 ^^^^^^^^^^^^^^^^^
21
22 error[E0774]: `derive` may only be applied to structs, enums and unions
23   --> $DIR/issue-43106-gating-of-derive.rs:11:5
24    |
25 LL |     #[derive(Debug)]
26    |     ^^^^^^^^^^^^^^^^
27
28 error[E0774]: `derive` may only be applied to structs, enums and unions
29   --> $DIR/issue-43106-gating-of-derive.rs:24:5
30    |
31 LL |     #[derive(Debug)]
32    |     ^^^^^^^^^^^^^^^^
33
34 error[E0774]: `derive` may only be applied to structs, enums and unions
35   --> $DIR/issue-43106-gating-of-derive.rs:28:5
36    |
37 LL |     #[derive(Debug)]
38    |     ^^^^^^^^^^^^^^^^
39
40 error: aborting due to 6 previous errors
41
42 Some errors have detailed explanations: E0658, E0774.
43 For more information about an error, try `rustc --explain E0658`.