-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Improve ty.needs_drop
#68679
Improve ty.needs_drop
#68679
Conversation
r? @varkor (rust_highfive has picked a reviewer for you, use r? to override) |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
037f43b
to
a9d79e8
Compare
This comment has been minimized.
This comment has been minimized.
ef8d4e2
to
802e184
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion |
Improve `ty.needs_drop` * Handle cycles in `needs_drop` correctly * Normalize types when computing `needs_drop` * Move queries from rustc to rustc_ty * Avoid query in simple cases reopens #65918
☀️ Try build successful - checks-azure |
Queued 2f9a0f5 with parent 6c0b779, future comparison URL. |
@bors try @rust-timer queue |
⌛ Trying commit 802e184 with merge d596559b9cb2e0f3efe1e7a4bb8038dfde649f4c... |
Checking performance impact after #68672 |
☀️ Try build successful - checks-azure |
Union fields have the ParamEnv of the union.
* Handle cycles in `needs_drop` correctly * Normalize types when computing `needs_drop` * Move queries from rustc to rustc_ty
* Handle arrays with const-generic lengths * Use closure for repeated code.
@bors r=varkor |
📌 Commit c38b4b6 has been approved by |
c38b4b6
to
65c8e3d
Compare
65c8e3d
to
30a8353
Compare
@bors r=varkor rollup=never |
📌 Commit 30a8353 has been approved by |
Improve `ty.needs_drop` * Handle cycles in `needs_drop` correctly * Normalize types when computing `needs_drop` * Move queries from rustc to rustc_ty * Avoid query in simple cases reopens rust-lang#65918
@bors p=1 |
Improve `ty.needs_drop` * Handle cycles in `needs_drop` correctly * Normalize types when computing `needs_drop` * Move queries from rustc to rustc_ty * Avoid query in simple cases reopens #65918
☀️ Test successful - checks-azure |
needs_drop
correctlyneeds_drop
reopens #65918