From 1755fdff0341464fc94eb81f3f15fca1ff79e9d4 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Sat, 8 Jun 2024 19:58:19 -0700 Subject: [PATCH] Fix incorrect is_desugared_from_effects value --- compiler/rustc_ast_lowering/src/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_ast_lowering/src/item.rs b/compiler/rustc_ast_lowering/src/item.rs index eb6746583c84..48dc58d5e769 100644 --- a/compiler/rustc_ast_lowering/src/item.rs +++ b/compiler/rustc_ast_lowering/src/item.rs @@ -1583,7 +1583,7 @@ impl<'hir> LoweringContext<'_, 'hir> { let default_ct = self.arena.alloc(hir::ConstArg { hir_id: self.next_id(), kind: hir::ConstArgKind::Anon(default_ac), - is_desugared_from_effects: true, + is_desugared_from_effects: false, }); let param = hir::GenericParam { def_id,