Skip to content

Commit 1f717b0

Browse files
authored
Merge pull request #18953 from VinTarZ/master
Fix `debug_assertions` broken in 1c5a125
2 parents 132a2a0 + d71015d commit 1f717b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: crates/rust-analyzer/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ config_data! {
582582
cargo_buildScripts_useRustcWrapper: bool = true,
583583
/// List of cfg options to enable with the given values.
584584
cargo_cfgs: Vec<String> = {
585-
vec!["debug_assertion".into(), "miri".into()]
585+
vec!["debug_assertions".into(), "miri".into()]
586586
},
587587
/// Extra arguments that are passed to every cargo invocation.
588588
cargo_extraArgs: Vec<String> = vec![],

Diff for: docs/user/generated_config.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ avoid checking unnecessary things.
9595
Default:
9696
----
9797
[
98-
"debug_assertion",
98+
"debug_assertions",
9999
"miri"
100100
]
101101
----

Diff for: editors/code/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@
816816
"rust-analyzer.cargo.cfgs": {
817817
"markdownDescription": "List of cfg options to enable with the given values.",
818818
"default": [
819-
"debug_assertion",
819+
"debug_assertions",
820820
"miri"
821821
],
822822
"type": "array",

0 commit comments

Comments
 (0)