-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: attempted to read from stolen value: rustc_middle::mir::Body', compiler/rustc_mir_transform/src/check_unsafety.rs:445:36 #91015
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
Turning off incremental compilation appears to fix the issue, so I'm assuming its a bug with that |
@rustbot label +A-incr-comp |
Can reproduce on the latest nightly myself. Happens when a compile of the |
Workaround (at least in my case):
Cleaning all cached packages and starting over seems to fix this — so it’s definitely to do with cache handling. |
Marking as closed by #108820. Please open a new issue if this still happens. |
Code
Meta
I can't use the stable compiler, since I rely on some nightly only features
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: