提交 4897a05e 编写于 作者: M Mark Mansi

Fix a couple of tests

上级 51ef7393
......@@ -27,10 +27,10 @@ pub fn main() {
baz!(a?a?a); //~ ERROR no rules expected the token `?`
baz!(a?a); //~ ERROR no rules expected the token `?`
baz!(a?); //~ ERROR no rules expected the token `?`
baz!(a,); //~ ERROR no rules expected the token `,`
baz!(a,); //~ ERROR unexpected end of macro invocation
baz!(a?a?a,); //~ ERROR no rules expected the token `?`
baz!(a?a,); //~ ERROR no rules expected the token `?`
baz!(a?,); //~ ERROR no rules expected the token `?`
bar!(); //~ ERROR unexpected end of macro invocation
bar!(a?); //~ ERROR no rules expected the token `?`
bar!(a?); //~ ERROR unexpected end of macro invocation
}
......@@ -13,7 +13,7 @@
macro_rules! foo {
{ $+ } => { //~ ERROR expected identifier, found `+`
//~^ ERROR missing fragment specifier
$(x)(y) //~ ERROR expected `*` or `+`
$(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册