2024-02-16 20:02:50 +00:00
|
|
|
//@ compile-flags: -Ztreat-err-as-bug -Zeagerly-emit-delayed-bugs
|
|
|
|
|
//@ failure-status: 101
|
|
|
|
|
//@ error-pattern: aborting due to `-Z treat-err-as-bug=1`
|
|
|
|
|
//@ error-pattern: [trigger_delayed_bug] triggering a delayed bug for testing incremental
|
2024-06-21 15:15:36 +10:00
|
|
|
//@ normalize-stderr-test: "note: .*\n\n" -> ""
|
|
|
|
|
//@ normalize-stderr-test: "thread 'rustc' panicked.*:\n.*\n" -> ""
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ rustc-env:RUST_BACKTRACE=0
|
2021-02-07 01:44:29 -03:00
|
|
|
|
|
|
|
|
#![feature(rustc_attrs)]
|
|
|
|
|
|
2024-02-12 15:26:59 +11:00
|
|
|
#[rustc_error(delayed_bug_from_inside_query)]
|
2021-02-07 01:44:29 -03:00
|
|
|
fn main() {}
|