-
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
Rollup of 7 pull requests #91902
Rollup of 7 pull requests #91902
Conversation
Signed-off-by: TennyZhuang <zty0826@gmail.com>
See rust-lang#91867 for more information.
…, r=yaahc add BinaryHeap::try_reserve and BinaryHeap::try_reserve_exact `try_reserve` of many collections were stablized in rust-lang#87993 in 1.57.0. Add `try_reserve` for the rest collections such as `BinaryHeap` should be not controversial.
… r=davidtwco Suggest to specify a target triple when lang item is missing It is very common for newbies to embedded to hit this confusing error when forgetting to specify the target. Source: me googling this error many times. ## Possible changes * We could possibly restrict the note+help to only be included on eh_personality lang item if that helped reduce false positives, but its also possible doing so would just increase false negatives * Open to any suggestions on rewriting the messages * We could possibly remove the `.cargo/config` alternative to avoid the message getting too noisy but I think its valuable to have as its the correct approach for most embedded projects so that `cargo build` just works. r? rust-lang/diagnostics
…=yaahc Make `MaybeUninit::zeroed` `const` Tracking issue: rust-lang#91850 ```rust // core::mem impl<T> MaybeUninit<T> { pub const fn zeroed() -> MaybeUninit<T>; } ```
…g, r=Aaron1011 Use try_normalize_erasing_regions in RevealAllVisitor Fixes rust-lang#91745 Thanks to ``@Aaron1011`` for [pointing out the problem](rust-lang#91745 (comment)). r? ``@Aaron1011``
…val, r=oli-obk Remove `in_band_lifetimes` from `rustc_const_eval` See rust-lang#91867 for more information.
…le, r=dtolnay Fix HashStable implementation on InferTy HashStable impl forgot to hash the discriminant. Fixes rust-lang#91807
Remove `in_band_lifetimes` from `rustc_hir` rust-lang#91867
@bors r+ rollup=never p=7 |
📌 Commit 1dde0db has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (404c847): comparison url. Summary: This change led to large relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
Successful merges:
MaybeUninit::zeroed
const
#91851 (MakeMaybeUninit::zeroed
const
)in_band_lifetimes
fromrustc_const_eval
#91887 (Removein_band_lifetimes
fromrustc_const_eval
)in_band_lifetimes
fromrustc_hir
#91893 (Removein_band_lifetimes
fromrustc_hir
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup