提交 5cb5d20b 编写于 作者: J Jonas Schievink

Fix test failures

上级 52d3de7a
......@@ -20,14 +20,14 @@
//~| 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
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册