Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit bda4525

Browse files
committed
Don't warn against nightly-only or-pattern lint
1 parent 7395e03 commit bda4525

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#![allow(clippy::similar_names)]
33
#![allow(clippy::single_match_else)]
44
#![allow(clippy::too_many_lines)]
5+
// Needs a nightly feature, doesn't bring that much to the table
6+
// FIXME: Apply Clippy lint once or-patterns are stabilized (rust-lang/rust#54883)
7+
#![allow(clippy::unnested_or_patterns)]
58
#![deny(warnings)]
69

710
extern crate rustc_hir;

0 commit comments

Comments
 (0)