clippy errors should never stop compilation

Workaround suggested in
https://github.com/rust-lang/rust-clippy/issues/9534
pull/454/head
Wilfred Hughes 2022-12-30 23:13:17 +07:00
parent 2b00d9fb34
commit 23ef083412
1 changed files with 4 additions and 0 deletions

@ -1,3 +1,7 @@
// Clippy errors in this file should not stop build errors being
// reported elsewhere.
// https://github.com/rust-lang/rust-clippy/issues/9534
#![warn(clippy::all)]
// Has false positives on else if chains that sometimes have the same
// body for readability.
#![allow(clippy::if_same_then_else)]