diff options
author | gfreezy <[email protected]> | 2018-12-24 14:48:46 +0000 |
---|---|---|
committer | gfreezy <[email protected]> | 2018-12-24 14:48:46 +0000 |
commit | 70df097c89ee45e4e0709c21b8aeee2e84e09fc4 (patch) | |
tree | 8b35cc49f92065231a7e79a7de1e03bae791bb17 /crates/ra_analysis | |
parent | 17b35a7f7dc5054f8d632cd4d3fc2fcb26879819 (diff) |
keep severity to Error & WeakWarning
Diffstat (limited to 'crates/ra_analysis')
-rw-r--r-- | crates/ra_analysis/src/imp.rs | 2 |
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<_>>(); |