Skip to content

Commit a187fc8

Browse files
authored
Unrolled build for #152317
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.
2 parents 381e9ef + 81fb703 commit a187fc8

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_trait_selection/src/error_reporting/infer

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/error_reporting/infer/region.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
10201020
&& let Some((sup_expected, sup_found)) =
10211021
self.values_str(sup_trace.values, &sup_trace.cause, err.long_ty_path())
10221022
&& let Some((sub_expected, sub_found)) =
1023-
self.values_str(sub_trace.values, &sup_trace.cause, err.long_ty_path())
1023+
self.values_str(sub_trace.values, &sub_trace.cause, err.long_ty_path())
10241024
&& sub_expected == sup_expected
10251025
&& sub_found == sup_found
10261026
{

0 commit comments

Comments
 (0)