@@ -34,9 +34,9 @@ use crate::infer::InferCtxt;
3434use crate :: infer:: { TypeVariableOrigin , TypeVariableOriginKind } ;
3535use crate :: traits:: { Obligation , PredicateObligations } ;
3636
37- pub struct TypeRelating < ' me , ' tcx , D >
37+ pub struct NllTypeRelating < ' me , ' tcx , D >
3838where
39- D : TypeRelatingDelegate < ' tcx > ,
39+ D : NllTypeRelatingDelegate < ' tcx > ,
4040{
4141 infcx : & ' me InferCtxt < ' tcx > ,
4242
5454 ambient_variance_info : ty:: VarianceDiagInfo < ' tcx > ,
5555}
5656
57- pub trait TypeRelatingDelegate < ' tcx > {
57+ pub trait NllTypeRelatingDelegate < ' tcx > {
5858 fn param_env ( & self ) -> ty:: ParamEnv < ' tcx > ;
5959 fn span ( & self ) -> Span ;
6060
@@ -98,9 +98,9 @@ pub trait TypeRelatingDelegate<'tcx> {
9898 fn next_placeholder_region ( & mut self , placeholder : ty:: PlaceholderRegion ) -> ty:: Region < ' tcx > ;
9999}
100100
101- impl < ' me , ' tcx , D > TypeRelating < ' me , ' tcx , D >
101+ impl < ' me , ' tcx , D > NllTypeRelating < ' me , ' tcx , D >
102102where
103- D : TypeRelatingDelegate < ' tcx > ,
103+ D : NllTypeRelatingDelegate < ' tcx > ,
104104{
105105 pub fn new ( infcx : & ' me InferCtxt < ' tcx > , delegate : D , ambient_variance : ty:: Variance ) -> Self {
106106 Self {
@@ -273,9 +273,9 @@ where
273273 }
274274}
275275
276- impl < ' tcx , D > TypeRelation < ' tcx > for TypeRelating < ' _ , ' tcx , D >
276+ impl < ' tcx , D > TypeRelation < ' tcx > for NllTypeRelating < ' _ , ' tcx , D >
277277where
278- D : TypeRelatingDelegate < ' tcx > ,
278+ D : NllTypeRelatingDelegate < ' tcx > ,
279279{
280280 fn tcx ( & self ) -> TyCtxt < ' tcx > {
281281 self . infcx . tcx
@@ -514,9 +514,9 @@ where
514514 }
515515}
516516
517- impl < ' tcx , D > ObligationEmittingRelation < ' tcx > for TypeRelating < ' _ , ' tcx , D >
517+ impl < ' tcx , D > ObligationEmittingRelation < ' tcx > for NllTypeRelating < ' _ , ' tcx , D >
518518where
519- D : TypeRelatingDelegate < ' tcx > ,
519+ D : NllTypeRelatingDelegate < ' tcx > ,
520520{
521521 fn span ( & self ) -> Span {
522522 self . delegate . span ( )
0 commit comments