Skip to content

Commit d02631d

Browse files
committed
Fix typo in multiple lifetimes error
1 parent 09f6caa commit d02631d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/lowering.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ impl<'a> LoweringContext<'a> {
20532053
.span_label(current_lt_span, "first lifetime here")
20542054
.span_label(lifetime.span, "different lifetime here")
20552055
.help("`async fn` can only accept borrowed values \
2056-
identical lifetimes")
2056+
with identical lifetimes")
20572057
.emit()
20582058
} else if current_lt_name.is_elided() && name.is_elided() {
20592059
struct_span_err!(

0 commit comments

Comments
 (0)