Skip to content

Commit 5332531

Browse files
committed
Diagnostic regression.
1 parent 8f78e37 commit 5332531

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ui/async-await/issues/issue-63388-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ impl Xyz {
1111
&'a self, foo: &dyn Foo
1212
) -> &dyn Foo
1313
{
14-
foo
1514
//~^ ERROR explicit lifetime required in the type of `foo` [E0621]
15+
foo
1616
}
1717
}
1818

tests/ui/async-await/issues/issue-63388-1.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ error[E0621]: explicit lifetime required in the type of `foo`
22
--> $DIR/issue-63388-1.rs:13:5
33
|
44
LL | / {
5-
LL | | foo
65
LL | |
6+
LL | | foo
77
LL | | }
88
| |_____^ lifetime `'a` required
99
|

0 commit comments

Comments
 (0)