Closed Redrield closed 5 years ago
I am observing the same behavior on the latest nightly when trying to compile distributary.
I'm getting the same ICE when compiling my Stream Zipper library: https://github.com/golddranks/stream_zipper
Testing with the nightly-2018-04-03 to see if this is the same bug or not.
Confirmation: this commit ( https://github.com/golddranks/stream_zipper/commit/1c47480a7159215515756b2941989f20b9f4b932 ) builds with nightly-2018-04-03, fails with anything newer.
With this environment the program stops crashing, should the issue be closed?
rustc 1.27.0-nightly (acd3871ba 2018-05-10)
binary: rustc
commit-hash: acd3871ba17316419c644e17547887787628ec2f
commit-date: 2018-05-10
host: x86_64-unknown-linux-gnu
release: 1.27.0-nightly
LLVM version: 6.0
It would be nice to get a test case for this, but considering how long ago this was, it might be difficult to minimise a test case we can confirm. I'm going to close as fixed, but we can re-open if this rears its head again.
In working on small improvements to my toy compiler, I ran into a situation that is crashing rustc. The change happened after I updated my nightly to the latest in order to use clippy to clean up my project.
Rustc information
rustc 1.27.0-nightly (fb44b4c0e 2018-04-04) binary: rustc commit-hash: fb44b4c0eb1d344f84f7bb2c90f28e31a8a180be commit-date: 2018-04-04 host: x86_64-unknown-linux-gnu release: 1.27.0-nightly LLVM version: 6.0
Compilation output (using
cargo build
,RUST_BACKTRACE=full
)Other notes
This error seems to be a regression from nightly-2018-04-03 to more recent nightlies. nightly-2018-04-03 is the latest nightly in which the compiler does not panic.
The normal message reporting a compiler panic and detailing how to report it is not being shown in multiple compilation attempts on my machine.