]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfcs/rfc-2005-default-binding-mode/range.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / rfcs / rfc-2005-default-binding-mode / range.rs
1 // run-pass
2 pub fn main() {
3     let i = 5;
4     match &&&&i {
5         1 ..= 3 => panic!(),
6         4 ..= 8 => {},
7         _ => panic!(),
8     }
9 }