1 fn foo<#[derive(Debug)] T>() {
2 //~^ ERROR `derive` may only be applied to structs, enums and unions
3 //~| ERROR expected an inert attribute, found a derive macro
6 //~^ ERROR `derive` may only be applied to structs, enums and unions
7 //~| ERROR expected an inert attribute, found a derive macro