blob: 8205a60ccdd7b4bf9a826d62d79749454aa422af (
plain)
1
2
3
4
5
6
7
8
|
error: cannot capture late-bound lifetime in type alias impl trait
--> $DIR/escaping-bound-var.rs:9:57
|
LL | pub type Foo = impl for<'a> Trait<'a, Assoc = impl Test<'a>>;
| -- lifetime defined here ^^
error: aborting due to previous error
|