aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/diagnostics/macro_error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide/src/diagnostics/macro_error.rs')
-rw-r--r--crates/ide/src/diagnostics/macro_error.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ide/src/diagnostics/macro_error.rs b/crates/ide/src/diagnostics/macro_error.rs
index d76a3a094..5f97f190d 100644
--- a/crates/ide/src/diagnostics/macro_error.rs
+++ b/crates/ide/src/diagnostics/macro_error.rs
@@ -15,9 +15,7 @@ pub(super) fn macro_error(ctx: &DiagnosticsContext<'_>, d: &hir::MacroError) ->
15#[cfg(test)] 15#[cfg(test)]
16mod tests { 16mod tests {
17 use crate::{ 17 use crate::{
18 diagnostics::tests::{ 18 diagnostics::tests::{check_diagnostics, check_diagnostics_with_config},
19 check_diagnostics, check_diagnostics_with_config, check_no_diagnostics,
20 },
21 DiagnosticsConfig, 19 DiagnosticsConfig,
22 }; 20 };
23 21
@@ -77,7 +75,7 @@ macro_rules! concat { () => {} }
77 fn register_attr_and_tool() { 75 fn register_attr_and_tool() {
78 cov_mark::check!(register_attr); 76 cov_mark::check!(register_attr);
79 cov_mark::check!(register_tool); 77 cov_mark::check!(register_tool);
80 check_no_diagnostics( 78 check_diagnostics(
81 r#" 79 r#"
82#![register_tool(tool)] 80#![register_tool(tool)]
83#![register_attr(attr)] 81#![register_attr(attr)]