blob: 462b17bf45e2f71e63789debb4ccd800950daac4 (
plain)
1
2
3
4
5
6
7
8
|
error: lifetimes in impl Trait types in bindings are not currently supported
--> $DIR/issue-57201.rs:11:13
|
LL | let f: &impl Fn(&'a T) -> &'b T = &|x| x;
| ^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
|