@@ -17,22 +17,22 @@ struct WhereBad where for<#[cfg(no)] 'a, #[cfg(yes)] T> u8: Copy;
1717
1818fn f_lt_no < #[ cfg_attr( no, unknown) ] ' a > ( ) { } // OK
1919fn f_lt_yes < #[ cfg_attr( yes, unknown) ] ' a > ( ) { }
20- //~^ ERROR cannot find attribute macro `unknown` in this scope
20+ //~^ ERROR cannot find attribute `unknown` in this scope
2121fn f_ty_no < #[ cfg_attr( no, unknown) ] T > ( ) { } // OK
2222fn f_ty_yes < #[ cfg_attr( yes, unknown) ] T > ( ) { }
23- //~^ ERROR cannot find attribute macro `unknown` in this scope
23+ //~^ ERROR cannot find attribute `unknown` in this scope
2424
2525type FnNo = for <#[ cfg_attr ( no , unknown ) ] ' a > fn ( ) ; // OK
2626type FnYes = for <#[ cfg_attr ( yes , unknown ) ] ' a > fn ( ) ;
27- //~^ ERROR cannot find attribute macro `unknown` in this scope
27+ //~^ ERROR cannot find attribute `unknown` in this scope
2828
2929type PolyNo = dyn for < #[ cfg_attr( no, unknown) ] ' a > Copy ; // OK
3030type PolyYes = dyn for < #[ cfg_attr( yes, unknown) ] ' a > Copy ;
31- //~^ ERROR cannot find attribute macro `unknown` in this scope
31+ //~^ ERROR cannot find attribute `unknown` in this scope
3232
3333struct WhereNo where for < #[ cfg_attr( no, unknown) ] ' a > u8 : Copy ; // OK
3434struct WhereYes where for < #[ cfg_attr( yes, unknown) ] ' a > u8 : Copy ;
35- //~^ ERROR cannot find attribute macro `unknown` in this scope
35+ //~^ ERROR cannot find attribute `unknown` in this scope
3636
3737fn main ( ) {
3838 f_lt :: < ' static > ( ) ;
0 commit comments