mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00
14 lines
510 B
Rust
14 lines
510 B
Rust
//@ compile-flags: -Ztreat-err-as-bug -Zeagerly-emit-delayed-bugs
|
|
//@ failure-status: 101
|
|
//@ normalize-stderr: "note: .*\n\n" -> ""
|
|
//@ normalize-stderr: "thread 'rustc' panicked.*:\n.*\n" -> ""
|
|
//@ rustc-env:RUST_BACKTRACE=0
|
|
|
|
#![feature(rustc_attrs)]
|
|
|
|
#[rustc_delayed_bug_from_inside_query]
|
|
fn main() {} //~ ERROR delayed bug triggered by #[rustc_delayed_bug_from_inside_query]
|
|
|
|
//~? RAW aborting due to `-Z treat-err-as-bug=1`
|
|
//~? RAW [trigger_delayed_bug] triggering a delayed bug for testing incremental
|