@@ -2,9 +2,7 @@ use std::convert::Infallible;
22use std:: marker:: PhantomData ;
33
44use rustc_type_ir:: search_graph:: { self , PathKind } ;
5- use rustc_type_ir:: solve:: {
6- AccessedOpaques , CanonicalInput , Certainty , NoSolution , QueryResult , RerunResultExt ,
7- } ;
5+ use rustc_type_ir:: solve:: { AccessedOpaques , Certainty , NoSolution , QueryResult , RerunResultExt } ;
86use rustc_type_ir:: { Interner , MayBeErased , TypingMode } ;
97
108use crate :: canonical:: response_no_constraints_raw;
3028 type ValidationScope = Infallible ;
3129 fn enter_validation_scope (
3230 _cx : Self :: Cx ,
33- _input : CanonicalInput < I > ,
31+ _input : I :: CanonicalInput ,
3432 ) -> Option < Self :: ValidationScope > {
3533 None
3634 }
4745 fn initial_provisional_result (
4846 cx : I ,
4947 kind : PathKind ,
50- input : CanonicalInput < I > ,
48+ input : I :: CanonicalInput ,
5149 ) -> ( QueryResult < I > , AccessedOpaques < I > ) {
5250 match kind {
5351 PathKind :: Coinductive => response_no_constraints ( cx, input, Certainty :: Yes ) ,
@@ -101,15 +99,15 @@ where
10199
102100 fn stack_overflow_result (
103101 cx : I ,
104- input : CanonicalInput < I > ,
102+ input : I :: CanonicalInput ,
105103 ) -> ( QueryResult < I > , AccessedOpaques < I > ) {
106104 response_no_constraints ( cx, input, Certainty :: overflow ( true ) )
107105 }
108106
109107 const FIXPOINT_OVERFLOW_AMBIGUITY_KIND : Certainty = Certainty :: overflow ( false ) ;
110108 fn fixpoint_overflow_result (
111109 cx : I ,
112- input : CanonicalInput < I > ,
110+ input : I :: CanonicalInput ,
113111 ) -> ( QueryResult < I > , AccessedOpaques < I > ) {
114112 response_no_constraints ( cx, input, Certainty :: overflow ( false ) )
115113 }
@@ -129,7 +127,7 @@ where
129127 fn compute_goal (
130128 search_graph : & mut SearchGraph < D > ,
131129 cx : I ,
132- input : CanonicalInput < I > ,
130+ input : I :: CanonicalInput ,
133131 inspect : & mut Self :: ProofTreeBuilder ,
134132 ) -> ( QueryResult < I > , AccessedOpaques < I > ) {
135133 EvalCtxt :: enter_canonical ( cx, search_graph, input, inspect, |ecx, goal| {
@@ -144,7 +142,7 @@ where
144142
145143fn response_no_constraints < I : Interner > (
146144 cx : I ,
147- input : CanonicalInput < I > ,
145+ input : I :: CanonicalInput ,
148146 certainty : Certainty ,
149147) -> ( QueryResult < I > , AccessedOpaques < I > ) {
150148 (
0 commit comments