aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/imp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/imp.rs')
-rw-r--r--crates/ra_analysis/src/imp.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs
index e8d6acc17..00cdf7eff 100644
--- a/crates/ra_analysis/src/imp.rs
+++ b/crates/ra_analysis/src/imp.rs
@@ -364,7 +364,7 @@ impl AnalysisImpl {
364 .map(|d| Diagnostic { 364 .map(|d| Diagnostic {
365 range: d.range, 365 range: d.range,
366 message: d.msg, 366 message: d.msg,
367 severity: Some(d.severity), 367 severity: d.severity,
368 fix: None, 368 fix: None,
369 }) 369 })
370 .collect::<Vec<_>>(); 370 .collect::<Vec<_>>();
@@ -386,7 +386,7 @@ impl AnalysisImpl {
386 Diagnostic { 386 Diagnostic {
387 range: name_node.range(), 387 range: name_node.range(),
388 message: "unresolved module".to_string(), 388 message: "unresolved module".to_string(),
389 severity: Some(Severity::Error), 389 severity: Severity::Error,
390 fix: Some(fix), 390 fix: Some(fix),
391 } 391 }
392 } 392 }
@@ -409,7 +409,7 @@ impl AnalysisImpl {
409 Diagnostic { 409 Diagnostic {
410 range: name_node.range(), 410 range: name_node.range(),
411 message: "can't declare module at this location".to_string(), 411 message: "can't declare module at this location".to_string(),
412 severity: Some(Severity::Error), 412 severity: Severity::Error,
413 fix: Some(fix), 413 fix: Some(fix),
414 } 414 }
415 } 415 }