aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-24 21:18:01 +0100
committerGitHub <[email protected]>2020-07-24 21:18:01 +0100
commitd7f1a53c6c1238828276a44866c2376588f435aa (patch)
treee41e3bc6ba72922d983ae8ae4db0ddc571925f5a /editors
parent75e67ee74e5d3db5363732bb793b872c57408013 (diff)
parent92a4ec80a0ce1dd834578f53ea3fd018530ec0e6 (diff)
Merge #5524
5524: Allow opting out of experimental diagnostics like MismatchedArgCount r=matklad a=jonas-schievink Closes https://github.com/rust-analyzer/rust-analyzer/issues/5448 Closes https://github.com/rust-analyzer/rust-analyzer/issues/5419 Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json15
1 files changed, 10 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 448e2269f..658c913fd 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -200,11 +200,6 @@
200 "type": "object", 200 "type": "object",
201 "title": "Rust Analyzer", 201 "title": "Rust Analyzer",
202 "properties": { 202 "properties": {
203 "rust-analyzer.diagnostics.enable": {
204 "type": "boolean",
205 "default": true,
206 "markdownDescription": "Whether to show native rust-analyzer diagnostics."
207 },
208 "rust-analyzer.lruCapacity": { 203 "rust-analyzer.lruCapacity": {
209 "type": [ 204 "type": [
210 "null", 205 "null",
@@ -579,6 +574,16 @@
579 "type": "boolean", 574 "type": "boolean",
580 "default": true 575 "default": true
581 }, 576 },
577 "rust-analyzer.diagnostics.enable": {
578 "type": "boolean",
579 "default": true,
580 "markdownDescription": "Whether to show native rust-analyzer diagnostics."
581 },
582 "rust-analyzer.diagnostics.enableExperimental": {
583 "type": "boolean",
584 "default": true,
585 "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual."
586 },
582 "rust-analyzer.diagnostics.warningsAsInfo": { 587 "rust-analyzer.diagnostics.warningsAsInfo": {
583 "type": "array", 588 "type": "array",
584 "uniqueItems": true, 589 "uniqueItems": true,