]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/issues/issue-54895.stderr
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[rust.git] / src / test / ui / impl-trait / issues / issue-54895.stderr
1 error: higher kinded lifetime bounds on nested opaque types are not supported yet
2   --> $DIR/issue-54895.rs:15:53
3    |
4 LL | fn f() -> impl for<'a> Trait<'a, Out = impl Sized + 'a> {
5    |                                                     ^^
6    |
7 note: lifetime declared here
8   --> $DIR/issue-54895.rs:15:20
9    |
10 LL | fn f() -> impl for<'a> Trait<'a, Out = impl Sized + 'a> {
11    |                    ^^
12
13 error: aborting due to previous error
14