]> git.lizzy.rs Git - rust.git/blob - src/test/ui/exclusive-range/exclusive_range_pattern_syntax_collision3.rs
Rollup merge of #63055 - Mark-Simulacrum:save-analysis-clean-2, r=Xanewok
[rust.git] / src / test / ui / exclusive-range / exclusive_range_pattern_syntax_collision3.rs
1 #![feature(exclusive_range_pattern)]
2
3 fn main() {
4     match [5..4, 99..105, 43..44] {
5         [..9, 99..100, _] => {},
6         //~^ ERROR `..X` range patterns are not supported
7         //~| ERROR mismatched types
8         //~| ERROR mismatched types
9         _ => {},
10     }
11 }