Skip to content

Commit 09dab38

Browse files
committed
tests: bless ui and rustdoc-ui tests for ICE messages
1 parent c7e77be commit 09dab38

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

Diff for: tests/rustdoc-ui/ice-bug-report-url.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ error: the compiler unexpectedly panicked. this is a bug.
1212

1313
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md
1414

15+
note: please make sure that you have updated to the latest nightly
16+
1517
note: rustc {version} running on {platform}
1618

1719
query stack during panic:

Diff for: tests/ui/consts/const-eval/const-eval-query-stack.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ error: internal compiler error[E0080]: evaluation of constant value failed
44
LL | const X: i32 = 1 / 0;
55
| ^^^^^ attempt to divide `1_i32` by zero
66

7+
note: please make sure that you have updated to the latest nightly
8+
79
query stack during panic:
810
#0 [eval_to_allocation_raw] const-evaluating + checking `X`
911
#1 [eval_to_const_value_raw] simplifying constant for the type system `X`

Diff for: tests/ui/panics/default-backtrace-ice.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ error: the compiler unexpectedly panicked. this is a bug.
2020

2121

2222

23+
24+
2325
query stack during panic:
2426
#0 [resolver_for_lowering_raw] getting the resolver for lowering
2527
end of query stack

Diff for: tests/ui/track-diagnostics/track.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
3030

3131
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
3232

33+
note: please make sure that you have updated to the latest nightly
34+
3335
note: rustc $VERSION running on $TARGET
3436

3537
note: compiler flags: ... -Z ui-testing ... -Z track-diagnostics

0 commit comments

Comments
 (0)