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 6929572 commit 1d7ef1dCopy full SHA for 1d7ef1d
tests/ui/must-use.stderr
@@ -9,4 +9,7 @@ note: the lint level is defined here
9
|
10
1 | #![deny(unused_must_use)]
11
| ^^^^^^^^^^^^^^^
12
- = note: this error originates in the macro `anyhow` (in Nightly builds, run with -Z macro-backtrace for more info)
+help: use `let _ = ...` to ignore the resulting value
13
+ |
14
+8 | let _ = anyhow!("it failed");
15
+ | +++++++
0 commit comments