diff options
| author | silvo38 <cameron@silvestrini.com.au> | 2016-05-08 22:33:03 +1000 |
|---|---|---|
| committer | silvo38 <cameron@silvestrini.com.au> | 2016-05-08 22:33:03 +1000 |
| commit | a7439ad75a180a5be77bd3f73bcc6c6896226036 (patch) | |
| tree | 527198d7ce6ce91a0aea906dfc4ce1d6d60b64cd | |
| parent | 48968329888948db8e49e307faf589a867dafa05 (diff) | |
| download | rust-a7439ad75a180a5be77bd3f73bcc6c6896226036.tar.gz rust-a7439ad75a180a5be77bd3f73bcc6c6896226036.zip | |
Fix minor typo in E0312
| -rw-r--r-- | src/librustc/infer/error_reporting.rs | 2 |
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 ", |
