Skip to content

Commit 1755fdf

Browse files
committed
Fix incorrect is_desugared_from_effects value
1 parent 220e45d commit 1755fdf

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
@@ -1583,7 +1583,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
15831583
let default_ct = self.arena.alloc(hir::ConstArg {
15841584
hir_id: self.next_id(),
15851585
kind: hir::ConstArgKind::Anon(default_ac),
1586-
is_desugared_from_effects: true,
1586+
is_desugared_from_effects: false,
15871587
});
15881588
let param = hir::GenericParam {
15891589
def_id,

0 commit comments

Comments
 (0)