diff options
| author | Taylor Cramer <cramertj@google.com> | 2018-06-18 16:57:14 -0700 |
|---|---|---|
| committer | Taylor Cramer <cramertj@google.com> | 2018-06-21 22:37:17 -0700 |
| commit | d02631d3dfd71b446648fa1c8a41c9f099cf89f8 (patch) | |
| tree | faadfcc6d4eedd2422a02bf1177e28b1f7f2b8a0 /src | |
| parent | 09f6caabe5dbb758b678dd81a6f3d98fbd41f590 (diff) | |
| download | rust-d02631d3dfd71b446648fa1c8a41c9f099cf89f8.tar.gz rust-d02631d3dfd71b446648fa1c8a41c9f099cf89f8.zip | |
Fix typo in multiple lifetimes error
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/hir/lowering.rs | 2 |
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!( |
