Skip to content
Myr

must-use.rs

This file

Path

tests/ui/must-use.rs

11 lines · 177 bytes · Rust

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 553ed38 point at it.

Update clippy.toml msrv to match rust-version in Cargo.tomlDavid Tolnaybefore adoption553ed38

lines 1–11why, one step back
1#![deny(unused_must_use)]
23use anyhow::anyhow;45fn main() -> anyhow::Result<()> {6 if true {7 // meant to write bail!8 anyhow!("it failed");9 }10 Ok(())11}