mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Fix
This commit is contained in:
parent
945679e42f
commit
17d1405a8b
1 changed files with 1 additions and 3 deletions
|
@ -119,9 +119,7 @@ function isDeprecated(rd: RustDiagnostic): boolean {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return ['deprecated'].includes(rd.code.code);
|
||||||
'deprecated',
|
|
||||||
].includes(rd.code.code);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue