]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/macros.rs
Fix static async closure qualifier order
[rust.git] / tests / target / macros.rs
index 8f86b79f9225e8870fc7c1632ed03464fd1da5c1..e930b5037d930f79873633881acce0468c0f5371 100644 (file)
@@ -11,8 +11,6 @@
 
 itemmacro! {this, is.brace().formatted()}
 
-peg_file! modname("mygrammarfile.rustpeg");
-
 fn main() {
     foo!();
 
@@ -1051,4 +1049,14 @@ pub fn fold_abi<V: Fold + ?Sized>(_visitor: &mut V, _i: Abi) -> Abi {
 
 // #3463
 x! {()}
-x! y {()}
+
+// #3746
+f!(match a {
+    4 => &[
+        (3, false), // Missing
+        (4, true)   // I-frame
+    ][..],
+});
+
+// #3583
+foo!(|x = y|);