File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ macro_rules! m {
2020 //~| ERROR macro expansion ignores token `i`
2121}
2222
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
2424
2525fn 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
2828 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
3030 }
3131
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
3333}
You can’t perform that action at this time.
0 commit comments