We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93dab8f commit 398f946Copy full SHA for 398f946
tests/ui/let_underscore_future.stderr
@@ -1,4 +1,4 @@
1
-error: non-binding let on a future
+error: non-binding `let` on a future
2
--> $DIR/let_underscore_future.rs:14:5
3
|
4
LL | let _ = some_async_fn();
@@ -7,15 +7,15 @@ LL | let _ = some_async_fn();
7
= help: consider awaiting the future or dropping explicitly with `std::mem::drop`
8
= note: `-D clippy::let-underscore-future` implied by `-D warnings`
9
10
11
--> $DIR/let_underscore_future.rs:15:5
12
13
LL | let _ = custom();
14
| ^^^^^^^^^^^^^^^^^
15
16
17
18
19
--> $DIR/let_underscore_future.rs:19:5
20
21
LL | let _ = future;
0 commit comments