mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-18 18:58:45 +00:00
6 lines
186 B
Rust
6 lines
186 B
Rust
#![warn(clippy::unnested_or_patterns)]
|
|
|
|
// Test that `unnested_or_patterns` does not trigger without enabling `or_patterns`
|
|
fn main() {
|
|
if let (0, 1) | (0, 2) | (0, 3) = (0, 0) {}
|
|
}
|