about summary refs log tree commit diff
path: root/tests/ui/unused_async.stderr
blob: 8b834d205b176970c8911b5f371c1282de83feb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: unused `async` for function with no await statements
  --> $DIR/unused_async.rs:4:1
   |
LL | / async fn foo() -> i32 {
LL | |     4
LL | | }
   | |_^
   |
   = note: `-D clippy::unused-async` implied by `-D warnings`
   = help: consider removing the `async` from this function

error: aborting due to previous error