Skip to content

Commit

Permalink
Rollup merge of rust-lang#33496 - silvo38:master, r=apasel422
Browse files Browse the repository at this point in the history
Fix minor typo in E0312
  • Loading branch information
Manishearth committed May 9, 2016
2 parents 35cc6b0 + a7439ad commit 6436b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/infer/error_reporting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",
Expand Down

0 comments on commit 6436b60

Please sign in to comment.