@@ -17,22 +17,22 @@ struct WhereBad where for<#[cfg(no)] 'a, #[cfg(yes)] T> u8: Copy;
17
17
18
18
fn f_lt_no < #[ cfg_attr( no, unknown) ] ' a > ( ) { } // OK
19
19
fn 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
21
21
fn f_ty_no < #[ cfg_attr( no, unknown) ] T > ( ) { } // OK
22
22
fn 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
24
24
25
25
type FnNo = for <#[ cfg_attr ( no , unknown ) ] ' a > fn ( ) ; // OK
26
26
type 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
28
28
29
29
type PolyNo = dyn for < #[ cfg_attr( no, unknown) ] ' a > Copy ; // OK
30
30
type 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
32
32
33
33
struct WhereNo where for < #[ cfg_attr( no, unknown) ] ' a > u8 : Copy ; // OK
34
34
struct 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
36
36
37
37
fn main ( ) {
38
38
f_lt :: < ' static > ( ) ;
0 commit comments