diff --git a/crates/hir-expand/src/eager.rs b/crates/hir-expand/src/eager.rs index ef7200f615..1e2722e846 100644 --- a/crates/hir-expand/src/eager.rs +++ b/crates/hir-expand/src/eager.rs @@ -73,7 +73,7 @@ pub fn expand_eager_macro_input( ) }; let err = parse_err.or(err); - if cfg!(debug) { + if cfg!(debug_assertions) { arg_map.finish(); }