@@ -308,25 +308,22 @@ impl<'tcx> ToTrace<'tcx> for Ty<'tcx> {
308308    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
309309        TypeTrace  { 
310310            cause :  cause. clone ( ) , 
311-             values :  ValuePairs :: Terms ( ExpectedFound :: new ( true ,   a. into ( ) ,  b. into ( ) ) ) , 
311+             values :  ValuePairs :: Terms ( ExpectedFound :: new ( a. into ( ) ,  b. into ( ) ) ) , 
312312        } 
313313    } 
314314} 
315315
316316impl < ' tcx >  ToTrace < ' tcx >  for  ty:: Region < ' tcx >  { 
317317    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
318-         TypeTrace  { 
319-             cause :  cause. clone ( ) , 
320-             values :  ValuePairs :: Regions ( ExpectedFound :: new ( true ,  a,  b) ) , 
321-         } 
318+         TypeTrace  {  cause :  cause. clone ( ) ,  values :  ValuePairs :: Regions ( ExpectedFound :: new ( a,  b) )  } 
322319    } 
323320} 
324321
325322impl < ' tcx >  ToTrace < ' tcx >  for  Const < ' tcx >  { 
326323    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
327324        TypeTrace  { 
328325            cause :  cause. clone ( ) , 
329-             values :  ValuePairs :: Terms ( ExpectedFound :: new ( true ,   a. into ( ) ,  b. into ( ) ) ) , 
326+             values :  ValuePairs :: Terms ( ExpectedFound :: new ( a. into ( ) ,  b. into ( ) ) ) , 
330327        } 
331328    } 
332329} 
@@ -337,13 +334,13 @@ impl<'tcx> ToTrace<'tcx> for ty::GenericArg<'tcx> {
337334            cause :  cause. clone ( ) , 
338335            values :  match  ( a. unpack ( ) ,  b. unpack ( ) )  { 
339336                ( GenericArgKind :: Lifetime ( a) ,  GenericArgKind :: Lifetime ( b) )  => { 
340-                     ValuePairs :: Regions ( ExpectedFound :: new ( true ,   a,  b) ) 
337+                     ValuePairs :: Regions ( ExpectedFound :: new ( a,  b) ) 
341338                } 
342339                ( GenericArgKind :: Type ( a) ,  GenericArgKind :: Type ( b) )  => { 
343-                     ValuePairs :: Terms ( ExpectedFound :: new ( true ,   a. into ( ) ,  b. into ( ) ) ) 
340+                     ValuePairs :: Terms ( ExpectedFound :: new ( a. into ( ) ,  b. into ( ) ) ) 
344341                } 
345342                ( GenericArgKind :: Const ( a) ,  GenericArgKind :: Const ( b) )  => { 
346-                     ValuePairs :: Terms ( ExpectedFound :: new ( true ,   a. into ( ) ,  b. into ( ) ) ) 
343+                     ValuePairs :: Terms ( ExpectedFound :: new ( a. into ( ) ,  b. into ( ) ) ) 
347344                } 
348345                _ => bug ! ( "relating different kinds: {a:?} {b:?}" ) , 
349346            } , 
@@ -353,37 +350,28 @@ impl<'tcx> ToTrace<'tcx> for ty::GenericArg<'tcx> {
353350
354351impl < ' tcx >  ToTrace < ' tcx >  for  ty:: Term < ' tcx >  { 
355352    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
356-         TypeTrace  { 
357-             cause :  cause. clone ( ) , 
358-             values :  ValuePairs :: Terms ( ExpectedFound :: new ( true ,  a,  b) ) , 
359-         } 
353+         TypeTrace  {  cause :  cause. clone ( ) ,  values :  ValuePairs :: Terms ( ExpectedFound :: new ( a,  b) )  } 
360354    } 
361355} 
362356
363357impl < ' tcx >  ToTrace < ' tcx >  for  ty:: TraitRef < ' tcx >  { 
364358    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
365-         TypeTrace  { 
366-             cause :  cause. clone ( ) , 
367-             values :  ValuePairs :: TraitRefs ( ExpectedFound :: new ( true ,  a,  b) ) , 
368-         } 
359+         TypeTrace  {  cause :  cause. clone ( ) ,  values :  ValuePairs :: TraitRefs ( ExpectedFound :: new ( a,  b) )  } 
369360    } 
370361} 
371362
372363impl < ' tcx >  ToTrace < ' tcx >  for  ty:: AliasTy < ' tcx >  { 
373364    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
374365        TypeTrace  { 
375366            cause :  cause. clone ( ) , 
376-             values :  ValuePairs :: Aliases ( ExpectedFound :: new ( true ,   a. into ( ) ,  b. into ( ) ) ) , 
367+             values :  ValuePairs :: Aliases ( ExpectedFound :: new ( a. into ( ) ,  b. into ( ) ) ) , 
377368        } 
378369    } 
379370} 
380371
381372impl < ' tcx >  ToTrace < ' tcx >  for  ty:: AliasTerm < ' tcx >  { 
382373    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
383-         TypeTrace  { 
384-             cause :  cause. clone ( ) , 
385-             values :  ValuePairs :: Aliases ( ExpectedFound :: new ( true ,  a,  b) ) , 
386-         } 
374+         TypeTrace  {  cause :  cause. clone ( ) ,  values :  ValuePairs :: Aliases ( ExpectedFound :: new ( a,  b) )  } 
387375    } 
388376} 
389377
@@ -392,7 +380,6 @@ impl<'tcx> ToTrace<'tcx> for ty::FnSig<'tcx> {
392380        TypeTrace  { 
393381            cause :  cause. clone ( ) , 
394382            values :  ValuePairs :: PolySigs ( ExpectedFound :: new ( 
395-                 true , 
396383                ty:: Binder :: dummy ( a) , 
397384                ty:: Binder :: dummy ( b) , 
398385            ) ) , 
@@ -402,18 +389,15 @@ impl<'tcx> ToTrace<'tcx> for ty::FnSig<'tcx> {
402389
403390impl < ' tcx >  ToTrace < ' tcx >  for  ty:: PolyFnSig < ' tcx >  { 
404391    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
405-         TypeTrace  { 
406-             cause :  cause. clone ( ) , 
407-             values :  ValuePairs :: PolySigs ( ExpectedFound :: new ( true ,  a,  b) ) , 
408-         } 
392+         TypeTrace  {  cause :  cause. clone ( ) ,  values :  ValuePairs :: PolySigs ( ExpectedFound :: new ( a,  b) )  } 
409393    } 
410394} 
411395
412396impl < ' tcx >  ToTrace < ' tcx >  for  ty:: PolyExistentialTraitRef < ' tcx >  { 
413397    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
414398        TypeTrace  { 
415399            cause :  cause. clone ( ) , 
416-             values :  ValuePairs :: ExistentialTraitRef ( ExpectedFound :: new ( true ,   a,  b) ) , 
400+             values :  ValuePairs :: ExistentialTraitRef ( ExpectedFound :: new ( a,  b) ) , 
417401        } 
418402    } 
419403} 
@@ -422,7 +406,7 @@ impl<'tcx> ToTrace<'tcx> for ty::PolyExistentialProjection<'tcx> {
422406    fn  to_trace ( cause :  & ObligationCause < ' tcx > ,  a :  Self ,  b :  Self )  -> TypeTrace < ' tcx >  { 
423407        TypeTrace  { 
424408            cause :  cause. clone ( ) , 
425-             values :  ValuePairs :: ExistentialProjection ( ExpectedFound :: new ( true ,   a,  b) ) , 
409+             values :  ValuePairs :: ExistentialProjection ( ExpectedFound :: new ( a,  b) ) , 
426410        } 
427411    } 
428412} 
0 commit comments