summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/location-detail-unwrap-no-file.rs
blob: 5955d9a25ae732ed56c36b72e6ef426b0413e747 (plain)
1
2
3
4
5
6
7
8
9
// 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();
}