4711: Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by default r=matklad a=lnicola



Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2020-06-02 16:16:38 +00:00 committed by GitHub
commit 0035dafbfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ impl Default for CargoConfig {
fn default() -> Self {
CargoConfig {
no_default_features: false,
all_features: true,
all_features: false,
features: Vec::new(),
load_out_dirs_from_check: false,
target: None,

View file

@ -122,7 +122,7 @@ impl Default for Config {
check: Some(FlycheckConfig::CargoCommand {
command: "check".to_string(),
all_targets: true,
all_features: true,
all_features: false,
extra_args: Vec::new(),
}),

View file

@ -238,7 +238,7 @@
},
"rust-analyzer.cargo.allFeatures": {
"type": "boolean",
"default": true,
"default": false,
"description": "Activate all available features"
},
"rust-analyzer.cargo.features": {
@ -319,7 +319,7 @@
},
"rust-analyzer.checkOnSave.allFeatures": {
"type": "boolean",
"default": true,
"default": false,
"markdownDescription": "Check with all features (will be passed as `--all-features`)"
},
"rust-analyzer.inlayHints.enable": {