Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Jun 9, 2024
1 parent 6d6fdda commit 4bea486
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,9 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
hir::AssocItemConstraintKind::Equality { term } => {
let term = match term {
hir::Term::Ty(ty) => self.lower_ty(ty).into(),
hir::Term::Const(ct) => ty::Const::from_const_arg_without_feeding(tcx, ct).into(),
hir::Term::Const(ct) => {
ty::Const::from_const_arg_without_feeding(tcx, ct).into()
}
};

// Find any late-bound regions declared in `ty` that are not
Expand Down

0 comments on commit 4bea486

Please sign in to comment.