66//! [c]: https://rust-lang.github.io/chalk/book/canonical_queries/canonicalization.html
77
88use crate :: infer:: canonical:: {
9- Canonical , CanonicalTyVarKind , CanonicalVarInfo , CanonicalVarKind , Canonicalized ,
10- OriginalQueryValues ,
9+ Canonical , CanonicalTyVarKind , CanonicalVarInfo , CanonicalVarKind , OriginalQueryValues ,
1110} ;
1211use crate :: infer:: InferCtxt ;
1312use rustc_middle:: ty:: flags:: FlagComputation ;
@@ -40,7 +39,7 @@ impl<'tcx> InferCtxt<'tcx> {
4039 & self ,
4140 value : V ,
4241 query_state : & mut OriginalQueryValues < ' tcx > ,
43- ) -> Canonicalized < ' tcx , V >
42+ ) -> Canonical < ' tcx , V >
4443 where
4544 V : TypeFoldable < ' tcx > ,
4645 {
@@ -59,7 +58,7 @@ impl<'tcx> InferCtxt<'tcx> {
5958 & self ,
6059 value : V ,
6160 query_state : & mut OriginalQueryValues < ' tcx > ,
62- ) -> Canonicalized < ' tcx , V >
61+ ) -> Canonical < ' tcx , V >
6362 where
6463 V : TypeFoldable < ' tcx > ,
6564 {
@@ -99,7 +98,7 @@ impl<'tcx> InferCtxt<'tcx> {
9998 /// out the [chapter in the rustc dev guide][c].
10099 ///
101100 /// [c]: https://rust-lang.github.io/chalk/book/canonical_queries/canonicalization.html#canonicalizing-the-query-result
102- pub fn canonicalize_response < V > ( & self , value : V ) -> Canonicalized < ' tcx , V >
101+ pub fn canonicalize_response < V > ( & self , value : V ) -> Canonical < ' tcx , V >
103102 where
104103 V : TypeFoldable < ' tcx > ,
105104 {
@@ -113,7 +112,7 @@ impl<'tcx> InferCtxt<'tcx> {
113112 )
114113 }
115114
116- pub fn canonicalize_user_type_annotation < V > ( & self , value : V ) -> Canonicalized < ' tcx , V >
115+ pub fn canonicalize_user_type_annotation < V > ( & self , value : V ) -> Canonical < ' tcx , V >
117116 where
118117 V : TypeFoldable < ' tcx > ,
119118 {
@@ -135,7 +134,7 @@ impl<'tcx> InferCtxt<'tcx> {
135134 & self ,
136135 value : V ,
137136 query_state : & mut OriginalQueryValues < ' tcx > ,
138- ) -> Canonicalized < ' tcx , V >
137+ ) -> Canonical < ' tcx , V >
139138 where
140139 V : TypeFoldable < ' tcx > ,
141140 {
@@ -524,7 +523,7 @@ impl<'cx, 'tcx> Canonicalizer<'cx, 'tcx> {
524523 tcx : TyCtxt < ' tcx > ,
525524 canonicalize_region_mode : & dyn CanonicalizeMode ,
526525 query_state : & mut OriginalQueryValues < ' tcx > ,
527- ) -> Canonicalized < ' tcx , V >
526+ ) -> Canonical < ' tcx , V >
528527 where
529528 V : TypeFoldable < ' tcx > ,
530529 {
0 commit comments