Rollup merge of #33496 - silvo38:master, r=apasel422

Fix minor typo in E0312
This commit is contained in:
Manish Goregaokar 2016-05-09 12:50:22 -07:00
commit 6436b6080c
No known key found for this signature in database
GPG Key ID: 3BBF4D3E2EF79F98

View File

@ -735,7 +735,7 @@ impl<'a, 'tcx> ErrorReporting<'tcx> for InferCtxt<'a, 'tcx> {
}
infer::Reborrow(span) => {
let mut err = struct_span_err!(self.tcx.sess, span, E0312,
"lifetime of reference outlines \
"lifetime of reference outlives \
lifetime of borrowed content...");
self.tcx.note_and_explain_region(&mut err,
"...the reference is valid for ",