mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-16 06:56:23 +00:00
20 lines
333 B
Rust
20 lines
333 B
Rust
//@ run-pass
|
|
#![allow(unused_imports, overlapping_range_endpoints)]
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
use m::{START, END};
|
|
|
|
fn main() {
|
|
match 42 {
|
|
m::START..=m::END => {},
|
|
0..=m::END => {},
|
|
m::START..=59 => {},
|
|
_ => {},
|
|
}
|
|
}
|
|
|
|
mod m {
|
|
pub const START: u32 = 4;
|
|
pub const END: u32 = 14;
|
|
}
|