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

@@ -611,9 +611,6 @@ pub enum SelectionError<'tcx> {
NotConstEvaluatable(NotConstEvaluatable),
/// Exceeded the recursion depth during type projection.
Overflow(OverflowError),
/// Signaling that an error has already been emitted, to avoid
/// multiple errors being shown.
ErrorReporting,
/// Computing an opaque type's hidden type caused an error (e.g. a cycle error).
/// We can thus not know whether the hidden type implements an auto trait, so
/// we should not presume anything about it.