Skip to content

Commit 26fdac6

Browse files
committed
pacify the mercilous tidy
1 parent ab79cf9 commit 26fdac6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/librustc_mir/hair/cx/expr.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,12 @@ fn make_mirror_unadjusted<'a, 'gcx, 'tcx>(cx: &mut Cx<'a, 'gcx, 'tcx>,
710710
// in case we are offsetting from a computed discriminant
711711
// and not the beginning of discriminants (which is always `0`)
712712
let substs = Substs::identity_for_item(cx.tcx(), did);
713-
let lhs = mk_const(ty::Const::unevaluated(cx.tcx(), did, substs, var_ty));
713+
let lhs = mk_const(ty::Const::unevaluated(
714+
cx.tcx(),
715+
did,
716+
substs,
717+
var_ty,
718+
));
714719
let bin = ExprKind::Binary {
715720
op: BinOp::Add,
716721
lhs,

0 commit comments

Comments
 (0)