aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-10-23 18:31:11 +0100
committerJonas Schievink <[email protected]>2020-10-23 18:31:11 +0100
commit5350c15e27bfb85d2e7ae3eae0e624197f2b9a70 (patch)
tree7c74f86f04fb9cc68ea69fb2f9ec0b4057f0c3a0 /crates
parent93dc6f511bedb7c18319bbf3efe47a7db4b2aa53 (diff)
Fix name of InactiveCode diagnostic
Diffstat (limited to 'crates')
-rw-r--r--crates/hir_def/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/diagnostics.rs b/crates/hir_def/src/diagnostics.rs
index 90d9cdcba..b221b290c 100644
--- a/crates/hir_def/src/diagnostics.rs
+++ b/crates/hir_def/src/diagnostics.rs
@@ -95,7 +95,7 @@ impl Diagnostic for UnresolvedImport {
95 } 95 }
96} 96}
97 97
98// Diagnostic: unconfigured-code 98// Diagnostic: inactive-code
99// 99//
100// This diagnostic is shown for code with inactive `#[cfg]` attributes. 100// This diagnostic is shown for code with inactive `#[cfg]` attributes.
101#[derive(Debug, Clone, Eq, PartialEq)] 101#[derive(Debug, Clone, Eq, PartialEq)]