Fix typo in multiple lifetimes error
This commit is contained in:
parent
09f6caabe5
commit
d02631d3df
1 changed files with 1 additions and 1 deletions
|
|
@ -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!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue