Skip to content

Commit a4f6438

Browse files
committed
Fix tidy
1 parent 912bc72 commit a4f6438

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/librustc_metadata/encoder.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,12 @@ impl<'a, 'b: 'a, 'tcx: 'b> IsolatedEncoder<'a, 'b, 'tcx> {
881881
!self.tcx.sess.opts.output_types.should_codegen()
882882
}
883883

884-
fn const_fn_qualif(&self, def_id: DefId, body_id: hir::BodyId, span: Span) -> Option<ConstQualif> {
884+
fn const_fn_qualif(
885+
&self,
886+
def_id: DefId,
887+
body_id: hir::BodyId,
888+
span: Span,
889+
) -> Option<ConstQualif> {
885890
if self.tcx.is_const_fn(def_id) {
886891
let mir = self.tcx.at(span).mir_const_qualif(def_id).0;
887892
Some(self.const_qualif(mir, body_id))

src/librustc_mir/transform/qualify_consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,4 +1552,4 @@ impl<'a, 'tcx> PromotableConstFn<'a, 'tcx> {
15521552
Place::Static(_) => false,
15531553
}
15541554
}
1555-
}
1555+
}

0 commit comments

Comments
 (0)