about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsilvo38 <cameron@silvestrini.com.au>2016-05-08 22:33:03 +1000
committersilvo38 <cameron@silvestrini.com.au>2016-05-08 22:33:03 +1000
commita7439ad75a180a5be77bd3f73bcc6c6896226036 (patch)
tree527198d7ce6ce91a0aea906dfc4ce1d6d60b64cd
parent48968329888948db8e49e307faf589a867dafa05 (diff)
downloadrust-a7439ad75a180a5be77bd3f73bcc6c6896226036.tar.gz
rust-a7439ad75a180a5be77bd3f73bcc6c6896226036.zip
Fix minor typo in E0312
-rw-r--r--src/librustc/infer/error_reporting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/infer/error_reporting.rs b/src/librustc/infer/error_reporting.rs
index 11d92f85854..940d7e911ff 100644
--- a/src/librustc/infer/error_reporting.rs
+++ b/src/librustc/infer/error_reporting.rs
@@ -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 ",