Skip to content

Commit 6d6fdda

Browse files
committed
Fix incorrect is_desugared_from_effects value
1 parent 1454bab commit 6d6fdda

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+1
-1
lines changed

compiler/rustc_ast_lowering/src/item.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
15921592
let default_ct = self.arena.alloc(hir::ConstArg {
15931593
hir_id: self.next_id(),
15941594
kind: hir::ConstArgKind::Anon(default_ac),
1595-
is_desugared_from_effects: true,
1595+
is_desugared_from_effects: false,
15961596
});
15971597
let param = hir::GenericParam {
15981598
def_id,

0 commit comments

Comments
 (0)