]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/feature-gates/feature-gate-edition_macro_pats.rs
rename pat2015 to pat_param
[rust.git] / src / test / ui / feature-gates / feature-gate-edition_macro_pats.rs
index e9f813f83ae98889bed9f61de5d2e31c720f314b..fdd8626c760b135411e95a4b90fbc9a35519789f 100644 (file)
@@ -1,7 +1,7 @@
 // Feature gate test for `edition_macro_pats` feature.
 
 macro_rules! foo {
-    ($x:pat2015) => {}; // ok
+    ($x:pat_param) => {}; // ok
     ($x:pat2021) => {}; //~ERROR `pat2021` is unstable
 }