Skip to content

Commit bb9a1ac

Browse files
Jonas Schievinkbnjjj
authored andcommitted
More detailed message
1 parent 8a59af3 commit bb9a1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir_def/src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl Diagnostic for InactiveCode {
102102
}
103103
fn message(&self) -> String {
104104
// FIXME: say *why* it is configured out
105-
"configured out".to_string()
105+
"code is inactive due to #[cfg] directives".to_string()
106106
}
107107
fn display_source(&self) -> InFile<SyntaxNodePtr> {
108108
InFile::new(self.file, self.node.clone())

0 commit comments

Comments
 (0)