blob: 422c29b66cf6806006fb7a495b332f56ac6f79d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@ check-pass
#![expect(clippy::no_effect)]
// Test for https://github.com/rust-lang/rust-clippy/issues/1588
fn main() {
match 1 {
1 => {},
2 => {
[0; 1];
},
_ => {},
}
}
|