]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/span/macro-ty-params.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / span / macro-ty-params.rs
index 0a93105b6647784ab82818a8d475e59a929b1870..cf28b0255d17db4c611ea55cf461be1a51fbc1c1 100644 (file)
@@ -9,5 +9,7 @@ macro_rules! foo { () => () }
 fn main() {
     foo::<T>!(); //~ ERROR generic arguments in macro path
     foo::<>!(); //~ ERROR generic arguments in macro path
-    m!(Default<>); //~ ERROR unexpected generic arguments in path
+    m!(Default<>);
+    //~^ ERROR unexpected generic arguments in path
+    //~^^ ERROR generic arguments in macro path
 }