]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-49934-errors.stderr
Update tests
[rust.git] / src / test / ui / issues / issue-49934-errors.stderr
1 error[E0774]: `derive` may only be applied to structs, enums and unions
2   --> $DIR/issue-49934-errors.rs:1:8
3    |
4 LL | fn foo<#[derive(Debug)] T>() {
5    |        ^^^^^^^^^^^^^^^^
6
7 error: expected an inert attribute, found a derive macro
8   --> $DIR/issue-49934-errors.rs:1:17
9    |
10 LL | fn foo<#[derive(Debug)] T>() {
11    |                 ^^^^^
12
13 error[E0774]: `derive` may only be applied to structs, enums and unions
14   --> $DIR/issue-49934-errors.rs:5:9
15    |
16 LL |         #[derive(Debug)]
17    |         ^^^^^^^^^^^^^^^^
18
19 error: expected an inert attribute, found a derive macro
20   --> $DIR/issue-49934-errors.rs:5:18
21    |
22 LL |         #[derive(Debug)]
23    |                  ^^^^^
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0774`.