Rename rustc_mir to rustc_const_eval.

This commit is contained in:
Camille GILLOT
2021-01-05 20:08:11 +01:00
parent fd9c04fe32
commit c5fc2609f0
64 changed files with 66 additions and 66 deletions

View File

@@ -134,7 +134,7 @@ impl<'tcx> MirPass<'tcx> for MatchBranchSimplification {
let const_cmp = Operand::const_from_scalar(
tcx,
switch_ty,
rustc_mir::interpret::Scalar::from_uint(val, size),
rustc_const_eval::interpret::Scalar::from_uint(val, size),
rustc_span::DUMMY_SP,
);
let op = if f_b { BinOp::Eq } else { BinOp::Ne };