1
Fork 0

Remove EvaluatedToErrStackDependent

This commit is contained in:
Michael Goulet 2024-03-20 15:47:00 -04:00
parent b8396d10c4
commit 88296bddf8
4 changed files with 9 additions and 90 deletions

View file

@ -49,8 +49,7 @@ impl<'tcx> InferCtxt<'tcx> {
/// - the parameter environment
///
/// Invokes `evaluate_obligation`, so in the event that evaluating
/// `Ty: Trait` causes overflow, EvaluatedToErrStackDependent
/// (or EvaluatedToAmbigStackDependent) will be returned.
/// `Ty: Trait` causes overflow, EvaluatedToAmbigStackDependent will be returned.
#[instrument(level = "debug", skip(self, params), ret)]
fn type_implements_trait(
&self,