We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832199e commit 7ee1af5Copy full SHA for 7ee1af5
src/test/ui/async-await/issues/issue-62517-2.rs
@@ -3,14 +3,16 @@
3
// explicit lifetime bound.
4
//
5
// edition:2018
6
+// check-pass
7
8
#![feature(async_await)]
9
10
trait Object {}
11
-trait Alpha<Param> {}
12
+trait Alpha<Param: ?Sized> {}
13
14
async fn foo<'a>(_: &'a ()) -> impl Alpha<dyn Object> {}
-//~^ ERROR not satisfied
15
+
16
+impl<T> Alpha<dyn Object> for T { }
17
18
fn main() { }
src/test/ui/async-await/issues/issue-62517-2.stderr
0 commit comments