1 // edition:2021
2 // check-pass
3 //
4 // Regression test for issue #84429
5 // Tests that we can properly invoke `matches!` from a 2021-edition crate.
6 
main()7 fn main() {
8     let _b = matches!(b'3', b'0' ..= b'9');
9 }
10