summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-84429-matches-edition.rs
blob: 53f134c265fd75c2b6615f574875894b163153ef (plain)
1
2
3
4
5
6
7
8
9
// edition:2021
// check-pass
//
// Regression test for issue #84429
// Tests that we can properly invoke `matches!` from a 2021-edition crate.

fn main() {
    let _b = matches!(b'3', b'0' ..= b'9');
}