From 877c251bef9bd4ac8ccab971786847bd4f28cc34 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Mon, 28 Dec 2020 20:08:50 +0800 Subject: Fixed old failed test due to new fixes --- crates/hir_def/src/nameres/tests/macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/hir_def/src/nameres/tests') diff --git a/crates/hir_def/src/nameres/tests/macros.rs b/crates/hir_def/src/nameres/tests/macros.rs index f9bf5bc72..e5e9e8ca1 100644 --- a/crates/hir_def/src/nameres/tests/macros.rs +++ b/crates/hir_def/src/nameres/tests/macros.rs @@ -677,7 +677,7 @@ fn macro_expansion_overflow() { r#" macro_rules! a { ($e:expr; $($t:tt)*) => { - b!($($t)*); + b!(static = (); $($t)*); }; () => {}; } @@ -689,7 +689,7 @@ macro_rules! b { () => {}; } -b! { static = #[] (); } +b! { static = #[] ();} "#, expect![[r#" crate -- cgit v1.2.3