-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New ICE in 1.55.0-nightly 6d820866a 2021-06-29 #86743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To add a little more info, the
is calling out the entire impl body of the MLHost struct, and the |
Please don't provide a block of code that does not reproduce the issue. At least attach a link to a repository of some kind. |
The repository is currently private, otherwise I would have. |
I forgot https://github.com/rust-lang/cargo-bisect-rustc existed, running that now to pin down the exact commit that introduced this ICE. |
I've bisected the change to be in 1ea0e28, will attempt to narrow it down further. |
I think this coming from the precise capture lint. I saw something similar when trying to run the lint on the compiler last night. There is an additional check in the Drop part of the migration that checks for bugs in the existing code that seems to be causing the issue. Removing it seems to fix the issue when the lint is run on the compiler, I'll discuss this during WG sync today if we should remove the check or figure out a way for it to not fail. |
Does the precise capture lint/migration check run on code that doesn't enable the |
The lint has been added part of the edition lint, I'm not sure if it gets run on its own. But the backtrace confirms it goes through the lint part of code. |
@rustbot assign @arora-aman Is this the ICE we were talking about yesterday, where we had to remove the check that was meant to catch 'code that wouldn't have compiled anyway?') |
Yes @nikomatsakis. I'll have PR up today |
Potentially related to #84841 |
No longer reproduces. I'm going to assume this was a duplicate. Closing as we already have the relevant tests. |
Code
Unfortunately, trying to make a minimized repro for this ICE was too difficult, as this particular struct impl is extremely entangled and in quite large, minimizing it resulted in no ICE, so I'm just reporting this immediately in the hopes that it will ring a bell as this is a change that occurred between
nightly-x86_64-unknown-linux-gnu - rustc 1.55.0-nightly (a435b49e8 2021-06-28)
(good)and
nightly-x86_64-unknown-linux-gnu - rustc 1.55.0-nightly (6d820866a 2021-06-29)
(ice)Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: