Skip to content

Commit

Permalink
Update must-use test stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 7, 2022
1 parent 573689b commit cf5d619
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/ui/must-use.stderr
@@ -0,0 +1,12 @@
error: unused return value of `must_use` that must be used
--> tests/ui/must-use.rs:8:9
|
8 | anyhow!("it failed");
| ^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> tests/ui/must-use.rs:1:9
|
1 | #![deny(unused_must_use)]
| ^^^^^^^^^^^^^^^
= note: this error originates in the macro `anyhow` (in Nightly builds, run with -Z macro-backtrace for more info)

0 comments on commit cf5d619

Please sign in to comment.