]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/redundant_closure_call_fixable.fixed
New upstream version 1.67.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / redundant_closure_call_fixable.fixed
index 7cd687c95a003f14c770fed009c8c4062359156b..c0e49ff4caa7472f09bc38ce817b046f1cdb10a9 100644 (file)
@@ -25,4 +25,16 @@ fn main() {
         x * y
     };
     let d = async { something().await };
+
+    macro_rules! m {
+        () => {
+            0
+        };
+    }
+    macro_rules! m2 {
+        () => {
+            m!()
+        };
+    }
+    m2!();
 }