aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAaron Wood <[email protected]>2020-06-10 03:58:39 +0100
committerAaron Wood <[email protected]>2020-06-10 03:58:39 +0100
commitf4ed2da966d1e568a67a7cae68880b2eb717c2cd (patch)
tree3c91aa48a19c392a95b2e47a564de2225d4a838d /crates
parent733ef3163c7423d8307d2df4503c08870b5a35b7 (diff)
Correct "debug_assertion" to "debug_assertions" to match the cfg
option that the rust debug assert macros use.
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_project_model/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs
index fe03b509e..6604f5092 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -600,7 +600,7 @@ fn get_rustc_cfg_options(target: Option<&str>) -> CfgOptions {
600 Err(e) => log::error!("failed to get rustc cfgs: {:#}", e), 600 Err(e) => log::error!("failed to get rustc cfgs: {:#}", e),
601 } 601 }
602 602
603 cfg_options.insert_atom("debug_assertion".into()); 603 cfg_options.insert_atom("debug_assertions".into());
604 604
605 cfg_options 605 cfg_options
606} 606}