]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-84429-matches-edition.rs
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / 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 }