mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
More detailed message
This commit is contained in:
parent
4cb3cf352f
commit
3fa04f35d2
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ impl Diagnostic for InactiveCode {
|
|||
}
|
||||
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 a new issue