]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-range-static.rs
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / ui / binding / match-range-static.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3 #![allow(non_upper_case_globals)]
4
5 const s: isize = 1;
6 const e: isize = 42;
7
8 pub fn main() {
9     match 7 {
10         s..=e => (),
11         _ => (),
12     }
13 }