summary refs log tree commit diff
path: root/src/test/ui/issues/issue-49934-errors.stderr
blob: 8778d88d0ebec5185c8fcaacf806098b3cd6e500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: `derive` may only be applied to structs, enums and unions
  --> $DIR/issue-49934-errors.rs:1:8
   |
LL | fn foo<#[derive(Debug)] T>() {
   |        ^^^^^^^^^^^^^^^^

error: expected an inert attribute, found a derive macro
  --> $DIR/issue-49934-errors.rs:1:17
   |
LL | fn foo<#[derive(Debug)] T>() {
   |                 ^^^^^

error: `derive` may only be applied to structs, enums and unions
  --> $DIR/issue-49934-errors.rs:5:9
   |
LL |         #[derive(Debug)]
   |         ^^^^^^^^^^^^^^^^

error: expected an inert attribute, found a derive macro
  --> $DIR/issue-49934-errors.rs:5:18
   |
LL |         #[derive(Debug)]
   |                  ^^^^^

error: aborting due to 4 previous errors