File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
compiler/rustc_type_ir/src/search_graph Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,11 @@ impl UsageKind {
118118 }
119119}
120120
121+ enum StepResult < X : Cx > {
122+ Done ( StackEntry < X > , X :: Result ) ,
123+ HasChanged ,
124+ }
125+
121126#[ derive( Debug , Clone , Copy ) ]
122127struct AvailableDepth ( usize ) ;
123128impl AvailableDepth {
@@ -559,14 +564,7 @@ impl<D: Delegate<Cx = X>, X: Cx> SearchGraph<D> {
559564 )
560565 } )
561566 }
562- }
563567
564- enum StepResult < X : Cx > {
565- Done ( StackEntry < X > , X :: Result ) ,
566- HasChanged ,
567- }
568-
569- impl < D : Delegate < Cx = X > , X : Cx > SearchGraph < D > {
570568 /// When we encounter a coinductive cycle, we have to fetch the
571569 /// result of that cycle while we are still computing it. Because
572570 /// of this we continuously recompute the cycle until the result
You can’t perform that action at this time.
0 commit comments