Skip to content

Commit 3fe2804

Browse files
committed
Add test for delay_span_bug and -Ztrear-err-as-bug
1 parent 230e406 commit 3fe2804

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/test/run-make-fulldeps/treat-err-as-bug/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
all:
44
$(RUSTC) err.rs -Z treat-err-as-bug 2>&1 \
55
| $(CGREP) "panicked at 'aborting due to \`-Z treat-err-as-bug=1\`'"
6+
$(RUSTC) delay_span_bug.rs -Z treat-err-as-bug 2>&1 \
7+
| $(CGREP) "panicked at 'aborting due to \`-Z treat-err-as-bug=1\`'"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#![feature(rustc_attrs)]
2+
3+
#[rustc_error(delay_span_bug_from_inside_query)]
4+
fn main() {}

0 commit comments

Comments
 (0)