aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis
diff options
context:
space:
mode:
authorgfreezy <[email protected]>2018-12-24 14:48:46 +0000
committergfreezy <[email protected]>2018-12-24 14:48:46 +0000
commit70df097c89ee45e4e0709c21b8aeee2e84e09fc4 (patch)
tree8b35cc49f92065231a7e79a7de1e03bae791bb17 /crates/ra_analysis
parent17b35a7f7dc5054f8d632cd4d3fc2fcb26879819 (diff)
keep severity to Error & WeakWarning
Diffstat (limited to 'crates/ra_analysis')
-rw-r--r--crates/ra_analysis/src/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs
index e054227a9..e8d6acc17 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: d.severity, 367 severity: Some(d.severity),
368 fix: None, 368 fix: None,
369 }) 369 })
370 .collect::<Vec<_>>(); 370 .collect::<Vec<_>>();