More detailed message
This commit is contained in:
parent
4cb3cf352f
commit
3fa04f35d2
@ -102,7 +102,7 @@ fn code(&self) -> DiagnosticCode {
|
||||
}
|
||||
fn message(&self) -> String {
|
||||
// FIXME: say *why* it is configured out
|
||||
"configured out".to_string()
|
||||
"code is inactive due to #[cfg] directives".to_string()
|
||||
}
|
||||
fn display_source(&self) -> InFile<SyntaxNodePtr> {
|
||||
InFile::new(self.file, self.node.clone())
|
||||
|
Loading…
Reference in New Issue
Block a user