mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Fix diagnostic code
This commit is contained in:
parent
74ae2dd303
commit
ddc0147d53
3 changed files with 21 additions and 2 deletions
|
@ -241,6 +241,10 @@ export class Config {
|
|||
get previewRustcOutput() {
|
||||
return this.get<boolean>("diagnostics.previewRustcOutput");
|
||||
}
|
||||
|
||||
get useRustcErrorCode() {
|
||||
return this.get<boolean>("diagnostics.useRustcErrorCode");
|
||||
}
|
||||
}
|
||||
|
||||
const VarRegex = new RegExp(/\$\{(.+?)\}/g);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue