mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
14 lines
197 B
Rust
14 lines
197 B
Rust
//@ check-pass
|
|
//@ edition: 2024
|
|
|
|
#![feature(never_patterns)]
|
|
#![allow(incomplete_features)]
|
|
#![allow(unreachable_code)]
|
|
|
|
fn main() {
|
|
let _ = Some({
|
|
return;
|
|
})
|
|
.map(|!| [1]);
|
|
}
|