blob: 640f6f3692797194166d1a86c18a4f9220210e83 (
plain)
1
2
3
4
5
6
7
8
|
error: cannot capture late-bound lifetime in `impl Trait` in binding
--> $DIR/escaping-bound-var.rs:12:52
|
LL | let x: &dyn for<'a> Foo<'a, Out = impl Sized + 'a> = &();
| -- lifetime defined here ^^
error: aborting due to 1 previous error
|