Fix test failures
This commit is contained in:
parent
52d3de7a7e
commit
5cb5d20bf9
@ -20,14 +20,14 @@ macro_rules! m {
|
||||
//~| ERROR macro expansion ignores token `i`
|
||||
}
|
||||
|
||||
m!(); //~ NOTE the usage of `m!` is likely invalid in this item context
|
||||
m!(); //~ NOTE the usage of `m!` is likely invalid in item context
|
||||
|
||||
fn main() {
|
||||
let a: m!(); //~ NOTE the usage of `m!` is likely invalid in this type context
|
||||
let i = m!(); //~ NOTE the usage of `m!` is likely invalid in this expression context
|
||||
let a: m!(); //~ NOTE the usage of `m!` is likely invalid in type context
|
||||
let i = m!(); //~ NOTE the usage of `m!` is likely invalid in expression context
|
||||
match 0 {
|
||||
m!() => {} //~ NOTE the usage of `m!` is likely invalid in this pattern context
|
||||
m!() => {} //~ NOTE the usage of `m!` is likely invalid in pattern context
|
||||
}
|
||||
|
||||
m!(); //~ NOTE the usage of `m!` is likely invalid in this statement context
|
||||
m!(); //~ NOTE the usage of `m!` is likely invalid in statement context
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user