Skip to content

Commit

Permalink
Fix incorrect is_desugared_from_effects value
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Jun 9, 2024
1 parent 220e45d commit 1755fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_ast_lowering/src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1755fdf

Please sign in to comment.