diff options
| author | bors <bors@rust-lang.org> | 2023-01-03 09:40:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-03 09:40:20 +0000 |
| commit | 50801b7d6a5c18d24ae47e5a8963431899da20cd (patch) | |
| tree | fd27f1f3f95d85eeaef45d004f644791cc39e9dd /editors/code/package.json | |
| parent | e75e2f83689d1591749b032b79c682c6d15c2424 (diff) | |
| parent | ddc0147d536b26a980c0446f86cda0e40378ea32 (diff) | |
| download | rust-50801b7d6a5c18d24ae47e5a8963431899da20cd.tar.gz rust-50801b7d6a5c18d24ae47e5a8963431899da20cd.zip | |
Auto merge of #13853 - veber-alex:diag_fix, r=Veykril
Use diagnostic code as link to full message fixes #13823 by adding a vscode setting that will keeping the existing diagnostic code and use it as a link to the full compiler error message. While I was there I also fixed `index` to fallback to `rendered.length` to make the previewRustcOutput feature work.
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index b45058a6cf3..89ff64fca73 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -411,6 +411,11 @@ "default": false, "type": "boolean" }, + "rust-analyzer.diagnostics.useRustcErrorCode": { + "markdownDescription": "Whether to use the rustc error code.", + "default": false, + "type": "boolean" + }, "$generated-start": {}, "rust-analyzer.assist.emitMustUse": { "markdownDescription": "Whether to insert #[must_use] when generating `as_` methods\nfor enum variants.", |
