Skip to content

Commit fde5210

Browse files
committed
fmt
1 parent 423fd6d commit fde5210

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

compiler/rustc_mir_build/src/builder/matches/match_pair.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
172172
let ty_cost = ty::Const::new(tcx, ty::ConstKind::Value(const_ty, valtree));
173173
let value = Const::Ty(const_ty, r#ty_cost);
174174
let test_case = TestCase::Constant { value };
175-
176-
let pattern = tcx.arena.alloc(Pat {
177-
ty: pat_ty,
178-
span,
179-
kind: PatKind::Constant { value },
180-
});
175+
let pattern = tcx.arena.alloc(Pat { ty: pat_ty, span, kind: PatKind::Constant { value } });
181176

182177
MatchPairTree {
183178
place: Some(place.to_place(self)),

0 commit comments

Comments
 (0)