]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-49934.stderr
Allow combining -Cprofile-generate and -Cpanic=unwind when targeting
[rust.git] / src / test / ui / issues / issue-49934.stderr
1 error[E0774]: `derive` may only be applied to structs, enums and unions
2   --> $DIR/issue-49934.rs:10:5
3    |
4 LL |     #[derive(Debug)]
5    |     ^^^^^^^^^^^^^^^^
6
7 error[E0774]: `derive` may only be applied to structs, enums and unions
8   --> $DIR/issue-49934.rs:14:5
9    |
10 LL |     #[derive(Debug)]
11    |     ^^^^^^^^^^^^^^^^
12
13 error[E0774]: `derive` may only be applied to structs, enums and unions
14   --> $DIR/issue-49934.rs:18:5
15    |
16 LL |     #[derive(Debug)]
17    |     ^^^^^^^^^^^^^^^^
18
19 error[E0774]: `derive` may only be applied to structs, enums and unions
20   --> $DIR/issue-49934.rs:22:13
21    |
22 LL |     let _ = #[derive(Debug)] "Hello, world!";
23    |             ^^^^^^^^^^^^^^^^
24
25 error[E0774]: `derive` may only be applied to structs, enums and unions
26   --> $DIR/issue-49934.rs:27:9
27    |
28 LL |         #[derive(Debug)]
29    |         ^^^^^^^^^^^^^^^^
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0774`.