Skip to content

Commit a957f0d

Browse files
committed
[const-prop] Run x.py fmt
1 parent e1f70f7 commit a957f0d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/librustc_mir/transform/const_prop.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
464464
r
465465
}
466466

467-
fn eval_constant(
468-
&mut self,
469-
c: &Constant<'tcx>,
470-
source_info: SourceInfo,
471-
) -> Option<OpTy<'tcx>> {
467+
fn eval_constant(&mut self, c: &Constant<'tcx>, source_info: SourceInfo) -> Option<OpTy<'tcx>> {
472468
self.ecx.tcx.span = c.span;
473469

474470
// FIXME we need to revisit this for #67176

0 commit comments

Comments
 (0)