Skip to content

Commit 062053b

Browse files
committed
Fix unimplemented binary_ptr_op
1 parent 274a491 commit 062053b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/dataflow_const_prop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ impl<'mir, 'tcx> rustc_const_eval::interpret::Machine<'mir, 'tcx> for DummyMachi
474474
_left: &rustc_const_eval::interpret::ImmTy<'tcx, Self::Provenance>,
475475
_right: &rustc_const_eval::interpret::ImmTy<'tcx, Self::Provenance>,
476476
) -> interpret::InterpResult<'tcx, (interpret::Scalar<Self::Provenance>, bool, Ty<'tcx>)> {
477-
unimplemented!()
477+
throw_unsup!(Unsupported("".into()))
478478
}
479479

480480
fn expose_ptr(

0 commit comments

Comments
 (0)