-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix ICE when using Box<T, A>, again #94873
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
📌 Commit 9d72dd5 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ed2a69c): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Remove dereferencing of Box from codegen Through rust-lang#94043, rust-lang#94414, rust-lang#94873, and rust-lang#95328, I've been fixing issues caused by Box being treated like a pointer when it is not a pointer. However, these PRs just introduced special cases for Box. This PR removes those special cases and instead transforms a deref of Box into a deref of the pointer it contains. Hopefully, this is the end of the Box<T, A> ICEs.
@rustbot label A-box |
Sequel to #94043, fixes #94835.