summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-49934-errors.stderr
blob: 8c4c54170a1014d316d07fa9c3ca11385538aa02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected non-macro attribute, found attribute macro `derive`
  --> $DIR/issue-49934-errors.rs:1:10
   |
LL | fn foo<#[derive(Debug)] T>() {
   |          ^^^^^^ not a non-macro attribute

error: expected non-macro attribute, found attribute macro `derive`
  --> $DIR/issue-49934-errors.rs:3:11
   |
LL |         #[derive(Debug)]
   |           ^^^^^^ not a non-macro attribute

error: aborting due to 2 previous errors