summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-23046.stderr
blob: 1403ecbd92d49df96d866d01e532d8a0e3a67567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0282]: type annotations needed for `Expr<'_, VAR>`
  --> $DIR/issue-23046.rs:17:15
   |
LL |     let ex = |x| {
   |               ^
   |
help: consider giving this closure parameter an explicit type, where the type for type parameter `VAR` is specified
   |
LL |     let ex = |x: Expr<'_, VAR>| {
   |                +++++++++++++++

error: aborting due to previous error

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