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 {
118
118
}
119
119
}
120
120
121
+ enum StepResult < X : Cx > {
122
+ Done ( StackEntry < X > , X :: Result ) ,
123
+ HasChanged ,
124
+ }
125
+
121
126
#[ derive( Debug , Clone , Copy ) ]
122
127
struct AvailableDepth ( usize ) ;
123
128
impl AvailableDepth {
@@ -559,14 +564,7 @@ impl<D: Delegate<Cx = X>, X: Cx> SearchGraph<D> {
559
564
)
560
565
} )
561
566
}
562
- }
563
567
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 > {
570
568
/// When we encounter a coinductive cycle, we have to fetch the
571
569
/// result of that cycle while we are still computing it. Because
572
570
/// of this we continuously recompute the cycle until the result
You can’t perform that action at this time.
0 commit comments