Skip to content

Commit 4bea486

Browse files
committed
fmt
1 parent 6d6fdda commit 4bea486

File tree

1 file changed

+3
-1
lines changed
  • compiler/rustc_hir_analysis/src/hir_ty_lowering

1 file changed

+3
-1
lines changed

compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,9 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
452452
hir::AssocItemConstraintKind::Equality { term } => {
453453
let term = match term {
454454
hir::Term::Ty(ty) => self.lower_ty(ty).into(),
455-
hir::Term::Const(ct) => ty::Const::from_const_arg_without_feeding(tcx, ct).into(),
455+
hir::Term::Const(ct) => {
456+
ty::Const::from_const_arg_without_feeding(tcx, ct).into()
457+
}
456458
};
457459

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

0 commit comments

Comments
 (0)