]>
Commit | Line | Data |
---|---|---|
e1599b0c XL |
1 | error[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 | | |
4 | LL | 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 | ||
9 | error: aborting due to previous error | |
10 | ||
ba9703b0 | 11 | For more information about this error, try `rustc --explain E0708`. |