2016-05-12 08:17:02 -05:00
|
|
|
fn main() {
|
2016-03-06 06:54:44 -06:00
|
|
|
match 0 {
|
2019-01-11 23:33:57 -06:00
|
|
|
(.., pat, ..) => {}
|
|
|
|
//~^ ERROR `..` can only be used once per tuple or tuple struct pattern
|
|
|
|
//~| ERROR mismatched types
|
2016-05-12 08:17:02 -05:00
|
|
|
}
|
|
|
|
}
|