Skip to content

Commit

Permalink
Fix minor typo in E0312
Browse files Browse the repository at this point in the history
  • Loading branch information
silvo38 committed May 8, 2016
1 parent 4896832 commit a7439ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/infer/error_reporting.rs
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 a7439ad

Please sign in to comment.