Skip to content

Commit

Permalink
Set RUST_BACKTRACE env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibsG committed Aug 20, 2020
1 parent ccb0493 commit bd71675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/ui/consts/const-eval/const-eval-query-stack.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// compile-flags: -Ztreat-err-as-bug
// build-fail
// failure-status: 101
// rustc-env:RUST_BACKTRACE=1
// normalize-stderr-test "\nerror: internal compiler error.*\n\n" -> ""
// normalize-stderr-test "note:.*unexpectedly panicked.*\n\n" -> ""
// normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> ""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: reaching this expression at runtime will panic or abort
--> $DIR/const-eval-query-stack.rs:17:28
--> $DIR/const-eval-query-stack.rs:18:28
|
LL | let x: &'static i32 = &(1 / 0);
| -^^^^^^^
Expand Down

0 comments on commit bd71675

Please sign in to comment.