]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused_async.stderr
removing unsafe from test fn's && renaming shrink to sugg_span
[rust.git] / 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