1 error: expected non-macro attribute, found attribute macro `derive`
2 --> $DIR/issue-49934-errors.rs:1:10
4 LL | fn foo<#[derive(Debug)] T>() {
5 | ^^^^^^ not a non-macro attribute
7 error: expected non-macro attribute, found attribute macro `derive`
8 --> $DIR/issue-49934-errors.rs:3:11
11 | ^^^^^^ not a non-macro attribute
13 error: aborting due to 2 previous errors