Skip to content

Commit 23ef083

Browse files
committed
clippy errors should never stop compilation
Workaround suggested in rust-lang/rust-clippy#9534
1 parent 2b00d9f commit 23ef083

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Clippy errors in this file should not stop build errors being
2+
// reported elsewhere.
3+
// https://github.com/rust-lang/rust-clippy/issues/9534
4+
#![warn(clippy::all)]
15
// Has false positives on else if chains that sometimes have the same
26
// body for readability.
37
#![allow(clippy::if_same_then_else)]

0 commit comments

Comments
 (0)