Open
Description
This is the proper fix for the breakage in #79506 and #79459.
The steps are basically to find all of the places that create a OverflowError
or SelectionError::Overflow
and make sure that they are always early returned until outside of rustc_trait_selection::traits::{select, project}
, at which point they should be emitted. Overflow errors should never be converted to any other kind of error (such as EvaluatedToRecur
or EvaluatedToError
)
Originally posted by @matthewjasper in #81055 (comment)