blob: 9b3a4ff5f42502bac934a6eb8d285970ac065334 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level
--> $DIR/implicit-capture-late.rs:10:36
|
LL | fn foo(x: Vec<i32>) -> Box<dyn for<'a> Deref<Target = impl ?Sized>> {
| ^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0657`.
|