Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stabilize :pat2015, leave :pat2021 gated
- Loading branch information
Showing
4 changed files
with
15 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// Feature gate test for `edition_macro_pats` feature. | ||
|
||
macro_rules! foo { | ||
($x:pat2015) => {}; //~ERROR `pat2015` and `pat2021` are unstable | ||
($x:pat2021) => {}; //~ERROR `pat2015` and `pat2021` are unstable | ||
($x:pat2015) => {}; // ok | ||
($x:pat2021) => {}; //~ERROR `pat2021` is unstable | ||
} | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters