aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs')
-rw-r--r--crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs b/crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs
index 4c3c1c19a..f0f7725db 100644
--- a/crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs
+++ b/crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs
@@ -40,7 +40,7 @@ mod tests {
40 r#" 40 r#"
41fn f() { 41fn f() {
42 m!(); 42 m!();
43} //^ unresolved macro `m!` 43} //^ error: unresolved macro `m!`
44 44
45"#, 45"#,
46 ); 46 );
@@ -51,7 +51,7 @@ fn f() {
51 check_diagnostics( 51 check_diagnostics(
52 r#" 52 r#"
53foo::bar!(92); 53foo::bar!(92);
54 //^^^ unresolved macro `foo::bar!` 54 //^^^ error: unresolved macro `foo::bar!`
55"#, 55"#,
56 ); 56 );
57 } 57 }
@@ -63,7 +63,7 @@ foo::bar!(92);
63macro_rules! m { () => {} } 63macro_rules! m { () => {} }
64 64
65m!(); m2!(); 65m!(); m2!();
66 //^^ unresolved macro `self::m2!` 66 //^^ error: unresolved macro `self::m2!`
67"#, 67"#,
68 ); 68 );
69 } 69 }
@@ -77,7 +77,7 @@ mod mac {
77macro_rules! m { () => {} } } 77macro_rules! m { () => {} } }
78 78
79self::m!(); self::m2!(); 79self::m!(); self::m2!();
80 //^^ unresolved macro `self::m2!` 80 //^^ error: unresolved macro `self::m2!`
81"#, 81"#,
82 ); 82 );
83 } 83 }