piston/packages/rust/1.65.0/test.rs

9 lines
144 B
Rust
Raw Normal View History

2022-11-13 06:11:54 +01:00
fn main() {
println!("OK");
// 1.65.0 feature
let _test = if let Some(t) = Some(1234) {
t
} else { unreachable!() };
}