about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTaylor Cramer <cramertj@google.com>2018-06-18 16:57:14 -0700
committerTaylor Cramer <cramertj@google.com>2018-06-21 22:37:17 -0700
commitd02631d3dfd71b446648fa1c8a41c9f099cf89f8 (patch)
treefaadfcc6d4eedd2422a02bf1177e28b1f7f2b8a0
parent09f6caabe5dbb758b678dd81a6f3d98fbd41f590 (diff)
downloadrust-d02631d3dfd71b446648fa1c8a41c9f099cf89f8.tar.gz
rust-d02631d3dfd71b446648fa1c8a41c9f099cf89f8.zip
Fix typo in multiple lifetimes error
-rw-r--r--src/librustc/hir/lowering.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/hir/lowering.rs b/src/librustc/hir/lowering.rs
index d0e6a5e2973..2deb0b53e6b 100644
--- a/src/librustc/hir/lowering.rs
+++ b/src/librustc/hir/lowering.rs
@@ -2053,7 +2053,7 @@ impl<'a> LoweringContext<'a> {
                                 .span_label(current_lt_span, "first lifetime here")
                                 .span_label(lifetime.span, "different lifetime here")
                                 .help("`async fn` can only accept borrowed values \
-                                      identical lifetimes")
+                                      with identical lifetimes")
                                 .emit()
                         } else if current_lt_name.is_elided() && name.is_elided() {
                             struct_span_err!(