rust/tests/ui/panics/location-detail-unwrap-no-file.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
190 B
Rust
Raw Normal View History

2021-10-15 10:58:28 -05:00
// run-fail
// check-run-results
// compile-flags: -Copt-level=0 -Zlocation-detail=line,column
// exec-env:RUST_BACKTRACE=0
2021-10-15 10:58:28 -05:00
fn main() {
let opt: Option<u32> = None;
opt.unwrap();
}