]>
Commit | Line | Data |
---|---|---|
29967ef6 XL |
1 | error[E0282]: type annotations needed for `Expr<'_, VAR>` |
2 | --> $DIR/issue-23046.rs:17:15 | |
8faf50e0 | 3 | | |
29967ef6 | 4 | LL | let ex = |x| { |
923072b8 FG |
5 | | ^ |
6 | | | |
7 | help: consider giving this closure parameter an explicit type, where the type for type parameter `VAR` is specified | |
8 | | | |
9 | LL | let ex = |x: Expr<'_, VAR>| { | |
10 | | +++++++++++++++ | |
8faf50e0 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0282`. |