about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-02-27 11:57:05 +0100
committerlcnr <rust@lcnr.de>2025-03-05 10:06:43 +0100
commit01795b14f07910223e12240128510f48ff110629 (patch)
treeaf501d4083993ad7200e8904f59a12e849f016e6 /compiler/rustc_trait_selection/src
parentac951d379913c667a1fb73a0830e81d65d2007cf (diff)
downloadrust-01795b14f07910223e12240128510f48ff110629.tar.gz
rust-01795b14f07910223e12240128510f48ff110629.zip
change definitely non-productive cycles to error
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs b/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs
index 4f177df89e2..352ac7c1a4e 100644
--- a/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs
+++ b/compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs
@@ -440,7 +440,7 @@ impl<'tcx> ProofTreeVisitor<'tcx> for BestObligation<'tcx> {
             match (child_mode, nested_goal.source()) {
                 (
                     ChildMode::Trait(_) | ChildMode::Host(_),
-                    GoalSource::Misc | GoalSource::NormalizeGoal(_),
+                    GoalSource::Misc | GoalSource::TypeRelating | GoalSource::NormalizeGoal(_),
                 ) => {
                     continue;
                 }