rust/tests/ui/macros/issue-84429-matches-edition.rs
2023-01-11 09:32:08 +00:00

10 lines
203 B
Rust

// 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');
}