Skip to content

Commit 7ee1af5

Browse files
committed
adjust test to be check-pass
1 parent 832199e commit 7ee1af5

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

src/test/ui/async-await/issues/issue-62517-2.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@
33
// explicit lifetime bound.
44
//
55
// edition:2018
6+
// check-pass
67

78
#![feature(async_await)]
89

910
trait Object {}
1011

11-
trait Alpha<Param> {}
12+
trait Alpha<Param: ?Sized> {}
1213

1314
async fn foo<'a>(_: &'a ()) -> impl Alpha<dyn Object> {}
14-
//~^ ERROR not satisfied
15+
16+
impl<T> Alpha<dyn Object> for T { }
1517

1618
fn main() { }

src/test/ui/async-await/issues/issue-62517-2.stderr

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)