2018-07-30 04:33:44 -05:00
|
|
|
#![allow(clippy::all)]
|
2017-03-03 07:46:33 -06:00
|
|
|
|
2024-08-24 12:43:34 -05:00
|
|
|
// Test for https://github.com/rust-lang/rust-clippy/issues/1588
|
2019-02-06 00:45:57 -06:00
|
|
|
|
2017-03-03 07:46:33 -06:00
|
|
|
fn main() {
|
|
|
|
match 1 {
|
2018-12-09 16:26:16 -06:00
|
|
|
1 => {},
|
2017-03-03 07:46:33 -06:00
|
|
|
2 => {
|
|
|
|
[0; 1];
|
2018-12-09 16:26:16 -06:00
|
|
|
},
|
|
|
|
_ => {},
|
2017-03-03 07:46:33 -06:00
|
|
|
}
|
|
|
|
}
|