We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 230e406 commit 3fe2804Copy full SHA for 3fe2804
src/test/run-make-fulldeps/treat-err-as-bug/Makefile
@@ -3,3 +3,5 @@
3
all:
4
$(RUSTC) err.rs -Z treat-err-as-bug 2>&1 \
5
| $(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\`'"
src/test/run-make-fulldeps/treat-err-as-bug/delay_span_bug.rs
@@ -0,0 +1,4 @@
1
+#![feature(rustc_attrs)]
2
+
+#[rustc_error(delay_span_bug_from_inside_query)]
+fn main() {}
0 commit comments