Skip to content

Commit c63b9ff

Browse files
committed
Pacify tidy
1 parent d3d5673 commit c63b9ff

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/librustc_mir/transform/qualify_consts.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -548,15 +548,18 @@ macro_rules! static_assert_seq_qualifs {
548548
static_assert!(SEQ_QUALIFS: QUALIF_COUNT == $i);
549549
};
550550
}
551-
static_assert_seq_qualifs!(0 => HasMutInterior, NeedsDrop, IsNotPromotable, IsNotImplicitlyPromotable);
551+
static_assert_seq_qualifs!(
552+
0 => HasMutInterior, NeedsDrop, IsNotPromotable, IsNotImplicitlyPromotable
553+
);
552554

553555
impl ConstCx<'_, 'tcx> {
554556
fn qualifs_in_any_value_of_ty(&self, ty: Ty<'tcx>) -> PerQualif<bool> {
555557
let mut qualifs = PerQualif::default();
556558
qualifs[HasMutInterior] = HasMutInterior::in_any_value_of_ty(self, ty).unwrap_or(false);
557559
qualifs[NeedsDrop] = NeedsDrop::in_any_value_of_ty(self, ty).unwrap_or(false);
558560
qualifs[IsNotPromotable] = IsNotPromotable::in_any_value_of_ty(self, ty).unwrap_or(false);
559-
qualifs[IsNotImplicitlyPromotable] = IsNotImplicitlyPromotable::in_any_value_of_ty(self, ty).unwrap_or(false);
561+
qualifs[IsNotImplicitlyPromotable] =
562+
IsNotImplicitlyPromotable::in_any_value_of_ty(self, ty).unwrap_or(false);
560563
qualifs
561564
}
562565

0 commit comments

Comments
 (0)