Skip to content
Myr

Update must-use test stderr

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 573689b · Browse files · 1 file+12 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+12 added−0 removed

  • tests:+12 added−0 removed

1 file+12 added−0 removed

added:tests/ui/must-use.stderr+12 added
1error: unused return value of `must_use` that must be used2 --> tests/ui/must-use.rs:8:93 |48 | anyhow!("it failed");5 | ^^^^^^^^^^^^^^^^^^^^6 |7note: the lint level is defined here8 --> tests/ui/must-use.rs:1:99 |101 | #![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)