mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 06:23:00 +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
|
|
|