From b973158aeb337041d4e1434cf5d8c609a0b02bef Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Fri, 13 Mar 2020 13:03:31 +0100 Subject: Make MBE expansion more resilient (WIP) --- crates/ra_hir_ty/src/tests/macros.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_hir_ty/src') diff --git a/crates/ra_hir_ty/src/tests/macros.rs b/crates/ra_hir_ty/src/tests/macros.rs index 3b7022ad5..2e309a379 100644 --- a/crates/ra_hir_ty/src/tests/macros.rs +++ b/crates/ra_hir_ty/src/tests/macros.rs @@ -462,7 +462,7 @@ fn main() { fn infer_builtin_macros_include() { let (db, pos) = TestDB::with_position( r#" -//- /main.rs +//- /main.rs #[rustc_builtin_macro] macro_rules! include {() => {}} @@ -483,7 +483,7 @@ fn bar() -> u32 {0} fn infer_builtin_macros_include_concat() { let (db, pos) = TestDB::with_position( r#" -//- /main.rs +//- /main.rs #[rustc_builtin_macro] macro_rules! include {() => {}} @@ -507,7 +507,7 @@ fn bar() -> u32 {0} fn infer_builtin_macros_include_concat_with_bad_env_should_failed() { let (db, pos) = TestDB::with_position( r#" -//- /main.rs +//- /main.rs #[rustc_builtin_macro] macro_rules! include {() => {}} @@ -534,7 +534,7 @@ fn bar() -> u32 {0} fn infer_builtin_macros_include_itself_should_failed() { let (db, pos) = TestDB::with_position( r#" -//- /main.rs +//- /main.rs #[rustc_builtin_macro] macro_rules! include {() => {}} -- cgit v1.2.3