Remove unused ErrorReporting variant from overflow handling

This commit is contained in:
Michael Goulet
2024-01-12 16:48:02 +00:00
parent 174e73a3f6
commit 322694ed56
6 changed files with 3 additions and 16 deletions

View File

@@ -116,11 +116,9 @@ impl<'tcx> InferCtxtExt<'tcx> for InferCtxt<'tcx> {
r,
)
}
OverflowError::ErrorReporting => EvaluationResult::EvaluatedToErr,
OverflowError::Error(_) => EvaluationResult::EvaluatedToErr,
})
}
Err(OverflowError::ErrorReporting) => EvaluationResult::EvaluatedToErr,
Err(OverflowError::Error(_)) => EvaluationResult::EvaluatedToErr,
}
}