We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d6fdda commit 4bea486Copy full SHA for 4bea486
compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs
@@ -452,7 +452,9 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
452
hir::AssocItemConstraintKind::Equality { term } => {
453
let term = match term {
454
hir::Term::Ty(ty) => self.lower_ty(ty).into(),
455
- hir::Term::Const(ct) => ty::Const::from_const_arg_without_feeding(tcx, ct).into(),
+ hir::Term::Const(ct) => {
456
+ ty::Const::from_const_arg_without_feeding(tcx, ct).into()
457
+ }
458
};
459
460
// Find any late-bound regions declared in `ty` that are not
0 commit comments