Closed
Description
Code
fn main() {
vec![].into_iter().map({ |x|
let y = x;
y
})
}
Current output
error[E0658]: `let` expressions in this position are unstable
Desired output
Something related to
`map({ |x|` is a syntax error and should be `map(|x| {`
Rationale and extra context
N/A
Other cases
No response
Anything else?
No response