@@ -191,9 +191,9 @@ impl<'a, 'b, 'tcx> Trace<'a, 'b, 'tcx> {
191191 T : Relate < ' tcx > ,
192192 {
193193 debug ! ( "sub({:?} <: {:?})" , a, b) ;
194- let Trace { at, trace, a_is_expected } = self ;
195- at . infcx . commit_if_ok ( |infcx, _| {
196- let mut fields = infcx. combine_fields ( trace, at . param_env ) ;
194+ let Trace { at : At { param_env , infcx , .. } , trace, a_is_expected } = self ;
195+ infcx. commit_if_ok ( |infcx, _| {
196+ let mut fields = infcx. combine_fields ( trace, param_env) ;
197197 fields
198198 . sub ( a_is_expected)
199199 . relate ( a, b)
@@ -208,9 +208,9 @@ impl<'a, 'b, 'tcx> Trace<'a, 'b, 'tcx> {
208208 T : Relate < ' tcx > ,
209209 {
210210 debug ! ( "eq({:?} == {:?})" , a, b) ;
211- let Trace { at, trace, a_is_expected } = self ;
212- at . infcx . commit_if_ok ( |infcx, _| {
213- let mut fields = infcx. combine_fields ( trace, at . param_env ) ;
211+ let Trace { at : At { param_env , infcx , .. } , trace, a_is_expected } = self ;
212+ infcx. commit_if_ok ( |infcx, _| {
213+ let mut fields = infcx. combine_fields ( trace, param_env) ;
214214 fields
215215 . equate ( a_is_expected)
216216 . relate ( a, b)
@@ -223,9 +223,9 @@ impl<'a, 'b, 'tcx> Trace<'a, 'b, 'tcx> {
223223 T : Relate < ' tcx > ,
224224 {
225225 debug ! ( "lub({:?} \\ / {:?})" , a, b) ;
226- let Trace { at, trace, a_is_expected } = self ;
227- at . infcx . commit_if_ok ( |infcx, _| {
228- let mut fields = infcx. combine_fields ( trace, at . param_env ) ;
226+ let Trace { at : At { param_env , infcx , .. } , trace, a_is_expected } = self ;
227+ infcx. commit_if_ok ( |infcx, _| {
228+ let mut fields = infcx. combine_fields ( trace, param_env) ;
229229 fields
230230 . lub ( a_is_expected)
231231 . relate ( a, b)
@@ -238,9 +238,9 @@ impl<'a, 'b, 'tcx> Trace<'a, 'b, 'tcx> {
238238 T : Relate < ' tcx > ,
239239 {
240240 debug ! ( "glb({:?} /\\ {:?})" , a, b) ;
241- let Trace { at, trace, a_is_expected } = self ;
242- at . infcx . commit_if_ok ( |infcx, _| {
243- let mut fields = infcx. combine_fields ( trace, at . param_env ) ;
241+ let Trace { at : At { param_env , infcx , .. } , trace, a_is_expected } = self ;
242+ infcx. commit_if_ok ( |infcx, _| {
243+ let mut fields = infcx. combine_fields ( trace, param_env) ;
244244 fields
245245 . glb ( a_is_expected)
246246 . relate ( a, b)
0 commit comments