]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/no-params-non-move-async-closure.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / async-await / no-params-non-move-async-closure.stderr
CommitLineData
e1599b0c
XL
1error[E0708]: `async` non-`move` closures with parameters are not currently supported
2 --> $DIR/no-params-non-move-async-closure.rs:6:13
8faf50e0
XL
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
ba9703b0 11For more information about this error, try `rustc --explain E0708`.