]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/unused_async.stderr
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[rust.git] / src / tools / clippy / tests / ui / unused_async.stderr
1 error: unused `async` for function with no await statements
2   --> $DIR/unused_async.rs:3:1
3    |
4 LL | / async fn foo() -> i32 {
5 LL | |     4
6 LL | | }
7    | |_^
8    |
9    = note: `-D clippy::unused-async` implied by `-D warnings`
10    = help: consider removing the `async` from this function
11
12 error: aborting due to previous error
13