File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ macro_rules! m {
20
20
//~| ERROR macro expansion ignores token `i`
21
21
}
22
22
23
- m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in this item context
23
+ m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in item context
24
24
25
25
fn main ( ) {
26
- let a: m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in this type context
27
- let i = m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in this expression context
26
+ let a: m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in type context
27
+ let i = m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in expression context
28
28
match 0 {
29
- m ! ( ) => { } //~ NOTE the usage of `m!` is likely invalid in this pattern context
29
+ m ! ( ) => { } //~ NOTE the usage of `m!` is likely invalid in pattern context
30
30
}
31
31
32
- m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in this statement context
32
+ m ! ( ) ; //~ NOTE the usage of `m!` is likely invalid in statement context
33
33
}
You can’t perform that action at this time.
0 commit comments