More detailed message

This commit is contained in:
Jonas Schievink 2020-10-20 18:23:55 +02:00
parent 4cb3cf352f
commit 3fa04f35d2

View File

@ -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())