-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rollup of 7 pull requests #91962
Rollup of 7 pull requests #91962
Conversation
This avoids a needless query invocation
See rust-lang#91867 for more information.
fix clippy::single_char_pattern perf findings
…_ssa, r=workingjubilee Remove `in_band_lifetimes` from `rustc_codegen_ssa` See rust-lang#91867 for more information. In `compiler/rustc_codegen_ssa/src/coverageinfo/map.rs`, there are several functions with an explicit `'a` lifetime but only a single `&'a self` parameter. These lifetimes should be redundant given lifetime elision, unless the existential `impl Iterator` has weird issues regarding that. Should the redundant lifetimes be removed?
…e_return_type, r=lcnr Make `TyS::is_suggestable` check for non-suggestable types structually Not sure if I went overboard checking substs in dyn types, etc. Let me know if I should simplify this function. Fixes rust-lang#91832
…crum Add another regression test for unnormalized fn args with Self Closes rust-lang#91899
Fix a bunch of typos I hope that none of these files is not supposed to be modified. FYI, I opened separate PRs for typos in submodules, in the respective repositories * rust-lang/stdarch#1267 * rust-lang/backtrace-rs#455
…-constification-begins, r=oli-obk Constify `bool::then{,_some}` Note on `~const Drop`: it has no effect when called from runtime functions, when called from const contexts, the trait system ensures that the type can be dropped in const contexts.
Use `tcx.def_path_hash` in `ExistentialPredicate.stable_cmp` This avoids a needless query invocation
@bors r+ rollup=never p=7 |
📌 Commit 990cf5b has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (c5ecc15): comparison url. Summary: This change led to very large relevant improvements 🎉 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Likely noise due to rust-lang/rustc-perf#1126. |
Successful merges:
in_band_lifetimes
fromrustc_codegen_ssa
#91885 (Removein_band_lifetimes
fromrustc_codegen_ssa
)TyS::is_suggestable
check for non-suggestable types structually #91898 (MakeTyS::is_suggestable
check for non-suggestable types structually)bool::then{,_some}
#91918 (Constifybool::then{,_some}
)tcx.def_path_hash
inExistentialPredicate.stable_cmp
#91920 (Usetcx.def_path_hash
inExistentialPredicate.stable_cmp
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup