Rollup merge of #152317 - cuiweixie:sup_trace, r=jackh726
fix: sup_trace to sub_trace This looks like a copy-past here from the line above.
This commit is contained in:
commit
3199309f05
1 changed files with 1 additions and 1 deletions
|
|
@ -1020,7 +1020,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
|
|||
&& let Some((sup_expected, sup_found)) =
|
||||
self.values_str(sup_trace.values, &sup_trace.cause, err.long_ty_path())
|
||||
&& let Some((sub_expected, sub_found)) =
|
||||
self.values_str(sub_trace.values, &sup_trace.cause, err.long_ty_path())
|
||||
self.values_str(sub_trace.values, &sub_trace.cause, err.long_ty_path())
|
||||
&& sub_expected == sup_expected
|
||||
&& sub_found == sup_found
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue