Closed
Description
Several panic messages changed recently:
- With the panic in ICE with mismatch in trait associated constant #105632, the output now ends immediately after the stack trace. The information about how to report an ICE is missing, and the query stack is also missing.
- With the panic in ICE:
unwrap
onNone
infind_cycle_in_stack
#105321, the output now includes "panic in a function that cannot unwind"
Missing output example
As an example, here's the post-stack-trace output when testing #105632 with an older build:
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
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
note: rustc 1.68.0-nightly (657eefe2d 2022-12-11) running on x86_64-apple-darwin
query stack during panic:
#0 [typeck] type-checking `bar`
#1 [typeck_item_bodies] type-checking all item bodies
#2 [analysis] running analysis passes on this crate
end of query stack
Regression
Seems to be a regression from bdb07a8 (#103647) (@lqd)
Version
rustc 1.68.0-nightly (bdb07a8ec 2022-12-11)
binary: rustc
commit-hash: bdb07a8ec8e77aa10fb84fae1d4ff71c21180bb4
commit-date: 2022-12-11
host: x86_64-apple-darwin
release: 1.68.0-nightly
LLVM version: 15.0.6