2021-02-07 01:44:29 -03:00
|
|
|
// compile-flags: -Ztreat-err-as-bug
|
|
|
|
// failure-status: 101
|
|
|
|
// error-pattern: aborting due to `-Z treat-err-as-bug=1`
|
2023-11-30 15:01:11 +11:00
|
|
|
// error-pattern: [trigger_span_delayed_bug] triggering a span delayed bug for testing incremental
|
2021-02-07 01:44:29 -03:00
|
|
|
// normalize-stderr-test "note: .*\n\n" -> ""
|
2023-06-20 19:16:18 +02:00
|
|
|
// normalize-stderr-test "thread 'rustc' panicked.*:\n.*\n" -> ""
|
2021-02-22 21:07:40 -05:00
|
|
|
// rustc-env:RUST_BACKTRACE=0
|
2021-02-07 01:44:29 -03:00
|
|
|
|
|
|
|
#![feature(rustc_attrs)]
|
|
|
|
|
2023-11-30 15:01:11 +11:00
|
|
|
#[rustc_error(span_delayed_bug_from_inside_query)]
|
2021-02-07 01:44:29 -03:00
|
|
|
fn main() {}
|