mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
keep severity to Error & WeakWarning
This commit is contained in:
parent
17b35a7f7d
commit
70df097c89
2 changed files with 8 additions and 10 deletions
|
@ -364,7 +364,7 @@ impl AnalysisImpl {
|
|||
.map(|d| Diagnostic {
|
||||
range: d.range,
|
||||
message: d.msg,
|
||||
severity: d.severity,
|
||||
severity: Some(d.severity),
|
||||
fix: None,
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue