diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-13 13:49:37 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-13 13:49:37 +0100 |
commit | cc6d761a99ab3b7e28ed13ca3839358f3341da4d (patch) | |
tree | d9d180d516ddbafc7eb950f401e9a8ab3f1e88fe /crates/ide/src/diagnostics/unresolved_module.rs | |
parent | 3f53a5dd724cbc7aa20280cddba44c7d2c0c8a6d (diff) | |
parent | 6383252cc2770545505d40217732f14e93a396c4 (diff) |
Merge #9246
9246: internal: unified missing fields diagnostic r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide/src/diagnostics/unresolved_module.rs')
-rw-r--r-- | crates/ide/src/diagnostics/unresolved_module.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/ide/src/diagnostics/unresolved_module.rs b/crates/ide/src/diagnostics/unresolved_module.rs index abf53a57c..4c8c74ff7 100644 --- a/crates/ide/src/diagnostics/unresolved_module.rs +++ b/crates/ide/src/diagnostics/unresolved_module.rs | |||
@@ -8,7 +8,10 @@ use crate::diagnostics::{fix, Diagnostic, DiagnosticsContext}; | |||
8 | // Diagnostic: unresolved-module | 8 | // Diagnostic: unresolved-module |
9 | // | 9 | // |
10 | // This diagnostic is triggered if rust-analyzer is unable to discover referred module. | 10 | // This diagnostic is triggered if rust-analyzer is unable to discover referred module. |
11 | pub(super) fn render(ctx: &DiagnosticsContext<'_>, d: &hir::UnresolvedModule) -> Diagnostic { | 11 | pub(super) fn unresolved_module( |
12 | ctx: &DiagnosticsContext<'_>, | ||
13 | d: &hir::UnresolvedModule, | ||
14 | ) -> Diagnostic { | ||
12 | Diagnostic::new( | 15 | Diagnostic::new( |
13 | "unresolved-module", | 16 | "unresolved-module", |
14 | "unresolved module", | 17 | "unresolved module", |