☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
anyhow
/
tests
/
ui
/
must-use.rs
☽
☼
debian/rust-vendor/anyhow/tests/ui/must-use.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
#![deny(unused_must_use)]
2
3
use anyhow::anyhow;
4
5
fn main() -> anyhow::Result<()> {
6
if true {
7
// meant to write bail!
8
anyhow!("it failed");
9
}
10
Ok(())
11
}