Skip to content

Commit

Permalink
Fix typo in multiple lifetimes error
Browse files Browse the repository at this point in the history
  • Loading branch information
cramertj committed Jun 22, 2018
1 parent 09f6caa commit d02631d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/hir/lowering.rs
Expand Up @@ -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!(
Expand Down

0 comments on commit d02631d

Please sign in to comment.