diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-09-24 11:32:33 +0200 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-09-24 13:45:58 +0200 |
| commit | b8615aa3f5cde84aa7277e549c2a30fa5e4ac5d5 (patch) | |
| tree | a5a69bd5ef8250a593ab8de4f1936afcb9413c3d /tests/ui/pattern/auxiliary | |
| parent | 1a5a2240bc1b8cf0bcce7acb946c78d6493a4fd3 (diff) | |
| download | rust-b8615aa3f5cde84aa7277e549c2a30fa5e4ac5d5.tar.gz rust-b8615aa3f5cde84aa7277e549c2a30fa5e4ac5d5.zip | |
Move existing rfc3627 tests to a dedicated folder
Diffstat (limited to 'tests/ui/pattern/auxiliary')
| -rw-r--r-- | tests/ui/pattern/auxiliary/match_ergonomics_2024_macros.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/ui/pattern/auxiliary/match_ergonomics_2024_macros.rs b/tests/ui/pattern/auxiliary/match_ergonomics_2024_macros.rs deleted file mode 100644 index 0b70e4404ab..00000000000 --- a/tests/ui/pattern/auxiliary/match_ergonomics_2024_macros.rs +++ /dev/null @@ -1,12 +0,0 @@ -//@ edition: 2024 -//@ compile-flags: -Z unstable-options - -// This contains a binding in edition 2024, so if matched with a reference binding mode it will end -// up with a `mut ref mut` binding mode. We use this to test the migration lint on patterns with -// mixed editions. -#[macro_export] -macro_rules! mixed_edition_pat { - ($foo:ident) => { - Some(mut $foo) - }; -} |
