-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 5 pull requests #95526
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 5 pull requests #95526
Conversation
…box, r=estebank Specialize infinite-type "insert some indirection" suggestion for Option Suggest `Option<Box<_>>` instead of `Box<Option<_>>` for infinitely-recursive members of a struct. Not sure if I can get the span of the generic subty of the Option so I can make this a `+++`-style suggestion. The current output is a tiny bit less fancy looking than the original suggestion. Should I limit the specialization to just `Option<Box<TheOuterStruct>>`? Because right now it applies to all `Option` members in the struct that are returned by `Representability::SelfRecursive`. Fixes rust-lang#91402 r? `@estebank` (since you wrote the original suggestion and are definitely most familiar with it!)
…zed, r=Dylan-DPC Update target_has_atomic documentation for stabilization `cfg(target_has_atomic)` was stabilized in rust-lang#93824, but this small note in the docs was not updated at the time.
small rustc_borrowck cleanup r? `@jackh726` because of the second commit, seems like that comment was missed in rust-lang#91243
Fix typos in core::ptr docs
remove unused field from `infcx` r? `@oli-obk` did we stop needing that for opaque types?
|
@bors r+ rollup=never p=5 |
|
📌 Commit 1074c81 has been approved by |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (0677edc): 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 |
Successful merges:
infcx#95523 (remove unused field frominfcx)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup