Skip to content

Commit 181a630

Browse files
committed
Rollup merge of rust-lang#33496 - silvo38:master, r=apasel422
Fix minor typo in E0312
2 parents 42e8179 + a7439ad commit 181a630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/infer/error_reporting.rs

+1-1
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)