fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
380 B10 linesraw
1error[E0708]: `async` non-`move` closures with parameters are not currently supported
2  --> $DIR/no-params-non-move-async-closure.rs:6:13
3   |
4LL |     let _ = async |x: u8| {};
5   |             ^^^^^^^^^^^^^
6   |
7   = help: consider using `let` statements to manually capture variables by reference before entering an `async move` closure
8
9error: aborting due to previous error
10