mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Fix typo in multiple lifetimes error
This commit is contained in:
@@ -2053,7 +2053,7 @@ fn visit_lifetime(&mut self, lifetime: &'v hir::Lifetime) {
|
||||
.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!(
|
||||
|
||||
Reference in New Issue
Block a user