]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/issues/issue-67830.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / impl-trait / issues / issue-67830.stderr
1 error: higher kinded lifetime bounds on nested opaque types are not supported yet
2   --> $DIR/issue-67830.rs:21:62
3    |
4 LL | fn test() -> impl for<'a> MyFn<&'a A, Output=impl Iterator + 'a> {
5    |                                                              ^^
6    |
7 note: lifetime declared here
8   --> $DIR/issue-67830.rs:21:23
9    |
10 LL | fn test() -> impl for<'a> MyFn<&'a A, Output=impl Iterator + 'a> {
11    |                       ^^
12
13 error: aborting due to previous error
14