summaryrefslogtreecommitdiffstats
path: root/src/test/ui/impl-trait/issues/issue-54895.stderr
blob: 7d22f027a6daf74c6322bbdf62ba4f50d84fe45a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: higher kinded lifetime bounds on nested opaque types are not supported yet
  --> $DIR/issue-54895.rs:15:53
   |
LL | fn f() -> impl for<'a> Trait<'a, Out = impl Sized + 'a> {
   |                                                     ^^
   |
note: lifetime declared here
  --> $DIR/issue-54895.rs:15:20
   |
LL | fn f() -> impl for<'a> Trait<'a, Out = impl Sized + 'a> {
   |                    ^^

error: aborting due to previous error