2020-10-19 17:58:44 +01:00
|
|
|
error[E0282]: type annotations needed for `Expr<'_, VAR>`
|
|
|
|
--> $DIR/issue-23046.rs:17:15
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
2020-10-19 17:58:44 +01:00
|
|
|
LL | let ex = |x| {
|
2022-02-14 13:25:26 +01: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 14:11:54 -07:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|