pacify the mercilous tidy

This commit is contained in:
Niko Matsakis 2018-10-17 16:40:43 -04:00
parent ab79cf951b
commit 26fdac6224

View file

@ -710,7 +710,12 @@ fn make_mirror_unadjusted<'a, 'gcx, 'tcx>(cx: &mut Cx<'a, 'gcx, 'tcx>,
// in case we are offsetting from a computed discriminant
// and not the beginning of discriminants (which is always `0`)
let substs = Substs::identity_for_item(cx.tcx(), did);
let lhs = mk_const(ty::Const::unevaluated(cx.tcx(), did, substs, var_ty));
let lhs = mk_const(ty::Const::unevaluated(
cx.tcx(),
did,
substs,
var_ty,
));
let bin = ExprKind::Binary {
op: BinOp::Add,
lhs,