Skip to content

Commit a63a944

Browse files
Remove an incorrect test
It tests the opposite of the correct behavior.
1 parent ebda376 commit a63a944

File tree

1 file changed

+0
-22
lines changed
  • src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests

1 file changed

+0
-22
lines changed

src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/mbe.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,28 +1958,6 @@ fn f() {
19581958
);
19591959
}
19601960

1961-
#[test]
1962-
fn test_edition_handling_in() {
1963-
check(
1964-
r#"
1965-
//- /main.rs crate:main deps:old edition:2021
1966-
fn f() {
1967-
old::parse_try_old!(try!{});
1968-
}
1969-
//- /old.rs crate:old edition:2015
1970-
#[macro_export]
1971-
macro_rules! parse_try_old {
1972-
($it:expr) => {};
1973-
}
1974-
"#,
1975-
expect![[r#"
1976-
fn f() {
1977-
;
1978-
}
1979-
"#]],
1980-
);
1981-
}
1982-
19831961
#[test]
19841962
fn semicolon_does_not_glue() {
19851963
check(

0 commit comments

Comments
 (0)