Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_def/src/macro_expansion_tests/mbe.rs')
| -rw-r--r-- | crates/hir_def/src/macro_expansion_tests/mbe.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/crates/hir_def/src/macro_expansion_tests/mbe.rs b/crates/hir_def/src/macro_expansion_tests/mbe.rs index 466c85fc5b..2cd70a84c5 100644 --- a/crates/hir_def/src/macro_expansion_tests/mbe.rs +++ b/crates/hir_def/src/macro_expansion_tests/mbe.rs @@ -86,26 +86,6 @@ impl From<Subtree> for TokenTree { } #[test] -fn expansion_does_not_parse_as_expression() { - check( - r#" -macro_rules! stmts { - () => { let _ = 0; } -} - -fn f() { let _ = stmts!(); } -"#, - expect![[r#" -macro_rules! stmts { - () => { let _ = 0; } -} - -fn f() { let _ = /* error: could not convert tokens */; } -"#]], - ) -} - -#[test] fn wrong_nesting_level() { check( r#" |