error[E0282]: type annotations needed for `Expr<'_, VAR>`
  --> $DIR/issue-23046.rs:17:15
   |
LL |     let ex = |x| {
   |               ^ consider giving this closure parameter the explicit type `Expr<'_, VAR>`, where the type parameter `VAR` is specified

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.
