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