mirror of https://github.com/rust-lang/rust.git
13 lines
315 B
Rust
13 lines
315 B
Rust
//@ run-fail
|
|
//@ compile-flags: -Cstrip=none -Cdebuginfo=line-tables-only -Copt-level=0
|
|
//@ exec-env:RUST_BACKTRACE=1
|
|
//@ regex-error-pattern: location-detail-unwrap-multiline\.rs:11(:10)?\n
|
|
//@ needs-unwind
|
|
//@ ignore-android FIXME #17520
|
|
|
|
fn main() {
|
|
let opt: Option<u32> = None;
|
|
opt
|
|
.unwrap();
|
|
}
|