We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb3cf3 commit 3fa04f3Copy full SHA for 3fa04f3
crates/hir_def/src/diagnostics.rs
@@ -102,7 +102,7 @@ impl Diagnostic for InactiveCode {
102
}
103
fn message(&self) -> String {
104
// FIXME: say *why* it is configured out
105
- "configured out".to_string()
+ "code is inactive due to #[cfg] directives".to_string()
106
107
fn display_source(&self) -> InFile<SyntaxNodePtr> {
108
InFile::new(self.file, self.node.clone())
0 commit comments