]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/macros/edition-macro-pats.rs
rename pat2015 to pat_param
[rust.git] / src / test / ui / macros / edition-macro-pats.rs
index ea1f9bff6bf7063d647ea50bf5236419ec158f95..963a9c01a3b69ff71664a067fe16a6a7d3fefe73 100644 (file)
@@ -1,10 +1,9 @@
 // run-pass
 
-#![feature(or_patterns)]
 #![feature(edition_macro_pats)]
 
 macro_rules! foo {
-    (a $x:pat2018) => {};
+    (a $x:pat_param) => {};
     (b $x:pat2021) => {};
 }