summaryrefslogtreecommitdiffstats
path: root/src/test/ui/treat-err-as-bug/delay_span_bug.rs
blob: 832afddf89147d68058a7b73853551d9042d0df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// compile-flags: -Ztreat-err-as-bug
// failure-status: 101
// error-pattern: aborting due to `-Z treat-err-as-bug=1`
// error-pattern: [trigger_delay_span_bug] triggering a delay span bug
// normalize-stderr-test "note: .*\n\n" -> ""
// normalize-stderr-test "thread 'rustc' panicked.*\n" -> ""
// rustc-env:RUST_BACKTRACE=0

#![feature(rustc_attrs)]

#[rustc_error(delay_span_bug_from_inside_query)]
fn main() {}