Disable experimental diagnostics by default

This commit is contained in:
Jonas Schievink 2022-03-24 16:57:50 +01:00
parent f3d1a53fa6
commit 44a99d6e49
3 changed files with 3 additions and 3 deletions

View file

@ -176,7 +176,7 @@ config_data! {
diagnostics_enable: bool = "true",
/// Whether to show experimental rust-analyzer diagnostics that might
/// have more false positives than usual.
diagnostics_enableExperimental: bool = "true",
diagnostics_enableExperimental: bool = "false",
/// List of rust-analyzer diagnostics to disable.
diagnostics_disabled: FxHashSet<String> = "[]",
/// Map of prefixes to be substituted when parsing diagnostic file paths.

View file

@ -223,7 +223,7 @@ Enables completions of private items and fields that are defined in the current
--
Whether to show native rust-analyzer diagnostics.
--
[[rust-analyzer.diagnostics.enableExperimental]]rust-analyzer.diagnostics.enableExperimental (default: `true`)::
[[rust-analyzer.diagnostics.enableExperimental]]rust-analyzer.diagnostics.enableExperimental (default: `false`)::
+
--
Whether to show experimental rust-analyzer diagnostics that might

View file

@ -645,7 +645,7 @@
},
"rust-analyzer.diagnostics.enableExperimental": {
"markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",
"default": true,
"default": false,
"type": "boolean"
},
"rust-analyzer.diagnostics.disabled": {