Disallow code usage with a custom `clippy.toml`

34 points by schneems


CobaltCause

Update: you can also use this technique to disallow unwrap()!

FWIW, Clippy has a built-in/dedicated lint for this called unwrap_used.