Add test for delay_span_bug and -Ztrear-err-as-bug
This commit is contained in:
parent
230e40644b
commit
3fe280451b
2 changed files with 6 additions and 0 deletions
|
@ -3,3 +3,5 @@
|
|||
all:
|
||||
$(RUSTC) err.rs -Z treat-err-as-bug 2>&1 \
|
||||
| $(CGREP) "panicked at 'aborting due to \`-Z treat-err-as-bug=1\`'"
|
||||
$(RUSTC) delay_span_bug.rs -Z treat-err-as-bug 2>&1 \
|
||||
| $(CGREP) "panicked at 'aborting due to \`-Z treat-err-as-bug=1\`'"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#![feature(rustc_attrs)]
|
||||
|
||||
#[rustc_error(delay_span_bug_from_inside_query)]
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue