-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Convert debug_assert!
to assert!
in Binder::dummy
#86867
Conversation
This is needed for rust-lang#85350 not to be passed.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 93882e4 with merge faffbef7d36114148cbd40b384c2bf707d799961... |
☀️ Try build successful - checks-actions |
Queued faffbef7d36114148cbd40b384c2bf707d799961 with parent 308fc23, future comparison URL. |
Finished benchmarking try commit (faffbef7d36114148cbd40b384c2bf707d799961): comparison url. Summary: This benchmark run did not return any significant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. @bors rollup=never |
Okay, mostly perf neutral. Maybe a very slight regression, but not really significant. Given that this prevents potential future bugs, @bors r+ |
📌 Commit 93882e4 has been approved by |
Perf's max-rss green for most tests, why this changed? I mean, changing |
@klensy probably the compiler happened to pick different CGU partitioning |
☀️ Test successful - checks-actions |
@jackh726 @JohnTitor With this change, we started to see ICEs in Clippy. E.g. #7447 and this change. In both cases this ICE came from calling |
Update Clippy This is an out-of-cycle Clippy update, to fix 3 ICEs before the release (This should be merged before beta is branched): rust-lang/rust-clippy#7470 rust-lang/rust-clippy#7471 rust-lang/rust-clippy#7473 cc `@jackh726` `@JohnTitor` rust-lang/rust-clippy#7470 was caused by rust-lang#86867. I saw the same ICE in the last rustup for Clippy though, so this might be a more general problem. Is there something we should check before calling `layout_of`? Should we always check for `ty.has_escaping_bound_vars()` before calling `layout_of`? Or is this overkill? r? `@Manishearth`
This is needed for #85350 not to be passed.
r? @jackh726