]> git.lizzy.rs Git - rust.git/blob - src/test/ui/treat-err-as-bug/delay_span_bug.rs
Rollup merge of #105758 - Nilstrieb:typeck-results-mod, r=compiler-errors
[rust.git] / src / test / ui / treat-err-as-bug / delay_span_bug.rs
1 // compile-flags: -Ztreat-err-as-bug
2 // failure-status: 101
3 // error-pattern: aborting due to `-Z treat-err-as-bug=1`
4 // error-pattern: [trigger_delay_span_bug] triggering a delay span bug
5 // normalize-stderr-test "note: .*\n\n" -> ""
6 // normalize-stderr-test "thread 'rustc' panicked.*\n" -> ""
7 // rustc-env:RUST_BACKTRACE=0
8
9 #![feature(rustc_attrs)]
10
11 #[rustc_error(delay_span_bug_from_inside_query)]
12 fn main() {}