Skip to content

Commit 2781669

Browse files
committed
fmt
1 parent 09b50d6 commit 2781669

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,9 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
438438
hir::AssocItemConstraintKind::Equality { term } => {
439439
let term = match term {
440440
hir::Term::Ty(ty) => self.lower_ty(ty).into(),
441-
hir::Term::Const(ct) => ty::Const::from_const_arg_without_feeding(tcx, ct).into(),
441+
hir::Term::Const(ct) => {
442+
ty::Const::from_const_arg_without_feeding(tcx, ct).into()
443+
}
442444
};
443445

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

0 commit comments

Comments
 (0)