Skip to content

Commit a8ebdbe

Browse files
committed
Fix formatting for lifetime elision mismatch hint
1 parent e792ee0 commit a8ebdbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_infer/src/infer/error_reporting/nice_region_error/different_lifetimes.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ impl<'a, 'tcx> NiceRegionError<'a, 'tcx> {
236236
],
237237
Applicability::MaybeIncorrect,
238238
);
239-
e.note("Each elided lifetime in input position becomes a distinct lifetime.");
239+
e.note(
240+
"Each elided lifetime in input position becomes a distinct lifetime.",
241+
);
240242
}
241243
}
242244
}

0 commit comments

Comments
 (0)