Unnamed repository; edit this file 'description' to name the repository.
Remove an incorrect test
It tests the opposite of the correct behavior.
| -rw-r--r-- | crates/hir-def/src/macro_expansion_tests/mbe.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/crates/hir-def/src/macro_expansion_tests/mbe.rs b/crates/hir-def/src/macro_expansion_tests/mbe.rs index 4d0ecaa3c2..445caef85f 100644 --- a/crates/hir-def/src/macro_expansion_tests/mbe.rs +++ b/crates/hir-def/src/macro_expansion_tests/mbe.rs @@ -1959,28 +1959,6 @@ fn f() { } #[test] -fn test_edition_handling_in() { - check( - r#" -//- /main.rs crate:main deps:old edition:2021 -fn f() { - old::parse_try_old!(try!{}); -} -//- /old.rs crate:old edition:2015 -#[macro_export] -macro_rules! parse_try_old { - ($it:expr) => {}; -} - "#, - expect![[r#" -fn f() { - ; -} -"#]], - ); -} - -#[test] fn semicolon_does_not_glue() { check( r#" |