mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-24 14:34:23 +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();
|
|
}
|