2020-10-19 11:58:44 -05:00
|
|
|
error[E0282]: type annotations needed for `Expr<'_, VAR>`
|
|
|
|
--> $DIR/issue-23046.rs:17:15
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2020-10-19 11:58:44 -05:00
|
|
|
LL | let ex = |x| {
|
2022-02-14 06:25:26 -06:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: consider giving this closure parameter an explicit type, where the type for type parameter `VAR` is specified
|
|
|
|
|
|
|
|
|
LL | let ex = |x: Expr<'_, VAR>| {
|
|
|
|
| +++++++++++++++
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|