@@ -23,12 +23,16 @@ pub struct Glb<'combine, 'infcx: 'combine, 'gcx: 'infcx+'tcx, 'tcx: 'infcx> {
2323}
2424
2525impl < ' combine , ' infcx , ' gcx , ' tcx > Glb < ' combine , ' infcx , ' gcx , ' tcx > {
26- pub fn new ( fields : & ' combine mut CombineFields < ' infcx , ' gcx , ' tcx > , a_is_expected : bool ) -> Glb < ' combine , ' infcx , ' gcx , ' tcx > {
26+ pub fn new ( fields : & ' combine mut CombineFields < ' infcx , ' gcx , ' tcx > , a_is_expected : bool )
27+ -> Glb < ' combine , ' infcx , ' gcx , ' tcx >
28+ {
2729 Glb { fields : fields, a_is_expected : a_is_expected }
2830 }
2931}
3032
31- impl < ' combine , ' infcx , ' gcx , ' tcx > TypeRelation < ' infcx , ' gcx , ' tcx > for Glb < ' combine , ' infcx , ' gcx , ' tcx > {
33+ impl < ' combine , ' infcx , ' gcx , ' tcx > TypeRelation < ' infcx , ' gcx , ' tcx >
34+ for Glb < ' combine , ' infcx , ' gcx , ' tcx >
35+ {
3236 fn tag ( & self ) -> & ' static str { "Glb" }
3337
3438 fn tcx ( & self ) -> TyCtxt < ' infcx , ' gcx , ' tcx > { self . fields . tcx ( ) }
@@ -71,7 +75,9 @@ impl<'combine, 'infcx, 'gcx, 'tcx> TypeRelation<'infcx, 'gcx, 'tcx> for Glb<'com
7175 }
7276}
7377
74- impl < ' combine , ' infcx , ' gcx , ' tcx > LatticeDir < ' infcx , ' gcx , ' tcx > for Glb < ' combine , ' infcx , ' gcx , ' tcx > {
78+ impl < ' combine , ' infcx , ' gcx , ' tcx > LatticeDir < ' infcx , ' gcx , ' tcx >
79+ for Glb < ' combine , ' infcx , ' gcx , ' tcx >
80+ {
7581 fn infcx ( & self ) -> & ' infcx InferCtxt < ' infcx , ' gcx , ' tcx > {
7682 self . fields . infcx
7783 }
0 commit comments