mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 14:34:58 +00:00
9 lines
281 B
Plaintext
9 lines
281 B
Plaintext
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
|
|
|