mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
10 lines
190 B
Rust
10 lines
190 B
Rust
// run-fail
|
|
// check-run-results
|
|
// compile-flags: -Copt-level=0 -Zlocation-detail=line,column
|
|
// exec-env:RUST_BACKTRACE=0
|
|
|
|
fn main() {
|
|
let opt: Option<u32> = None;
|
|
opt.unwrap();
|
|
}
|