]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-10536.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-10536.rs
index 111078abb37007a5a7538a71247c3c304365f864..f536d8f940a93871936a4b9172cb0ea5d38b6710 100644 (file)
@@ -11,9 +11,9 @@ macro_rules! foo{
 pub fn main() {
     foo!();
 
-    assert!({one! two()}); //~ ERROR expected open delimiter
+    assert!({one! two()}); //~ ERROR expected one of `(`, `[`, or `{`, found `two`
 
     // regardless of whether nested macro_rules works, the following should at
     // least throw a conventional error.
-    assert!({one! two}); //~ ERROR expected open delimiter
+    assert!({one! two}); //~ ERROR expected one of `(`, `[`, or `{`, found `two`
 }