☰
Debian Codegraph
@
1.0.103-1
/
/
tests
/
ui
/
must-use.rs
☽
☼
tests/ui/must-use.rs
code
plain
raw
symbols
SCIP
MIT
or
Apache-2.0
2019-2024 David Tolnay <
[email protected]
>
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
}