]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-84429-matches-edition.rs
Rollup merge of #106783 - WaffleLapkin:break-my-ident, r=wesleywiser
[rust.git] / tests / ui / macros / issue-84429-matches-edition.rs
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
7 fn main() {
8     let _b = matches!(b'3', b'0' ..= b'9');
9 }