Skip to content

Commit a7439ad

Browse files
committed
Fix minor typo in E0312
1 parent 4896832 commit a7439ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/infer/error_reporting.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ impl<'a, 'tcx> ErrorReporting<'tcx> for InferCtxt<'a, 'tcx> {
735735
}
736736
infer::Reborrow(span) => {
737737
let mut err = struct_span_err!(self.tcx.sess, span, E0312,
738-
"lifetime of reference outlines \
738+
"lifetime of reference outlives \
739739
lifetime of borrowed content...");
740740
self.tcx.note_and_explain_region(&mut err,
741741
"...the reference is valid for ",

0 commit comments

Comments
 (0)