We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371c23f commit 3c8eb4eCopy full SHA for 3c8eb4e
src/librustc_mir/borrow_check/nll/region_infer/error_reporting/mod.rs
@@ -453,7 +453,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
453
diag.span_label(span, format!(
454
"{} was supposed to return data with lifetime `{}` but it is returning \
455
data with lifetime `{}`",
456
- mir_def_name, fr_name, outlived_fr_name,
+ mir_def_name, outlived_fr_name, fr_name
457
));
458
},
459
_ => {
0 commit comments