about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/infer.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-03-20 15:47:00 -0400
committerMichael Goulet <michael@errs.io>2024-03-31 20:44:30 -0400
commit88296bddf87d927228c5c8ff4d3ad6fa59ff9362 (patch)
tree44b716c424f401321da8ee0b300ed1bda3cf8319 /compiler/rustc_trait_selection/src/infer.rs
parentb8396d10c42cf758bcf901019181a0d47e56ed19 (diff)
downloadrust-88296bddf87d927228c5c8ff4d3ad6fa59ff9362.tar.gz
rust-88296bddf87d927228c5c8ff4d3ad6fa59ff9362.zip
Remove EvaluatedToErrStackDependent
Diffstat (limited to 'compiler/rustc_trait_selection/src/infer.rs')
-rw-r--r--compiler/rustc_trait_selection/src/infer.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/infer.rs b/compiler/rustc_trait_selection/src/infer.rs
index f694dd00703..7056288e758 100644
--- a/compiler/rustc_trait_selection/src/infer.rs
+++ b/compiler/rustc_trait_selection/src/infer.rs
@@ -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,