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 8a59af3 commit bb9a1acCopy full SHA for bb9a1ac
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