-
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 6 pull requests #128360
Rollup of 6 pull requests #128360
Conversation
… unit, never type, PhantomData and positional ZST
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This is an alternative to ee6459d. That is, it fixes the issue that affects the very long type names in https://docs.rs/async-stripe/0.31.0/stripe/index.html#structs. This is, necessarily, a pile of nasty heuristics. We need to balance a few issues: - Sometimes, there's no real word break. For example, `BTreeMap` should be `BTree<wbr>Map`, not `B<wbr>Tree<wbr>Map`. - Sometimes, there's a legit word break, but the name is tiny and the HTML overhead isn't worth it. For example, if we're typesetting `TyCtx`, writing `Ty<wbr>Ctx` would have an HTML overhead of 50%. Line breaking inside it makes no sense.
This also improves sidebar layout, so instead of BTreeM ap you get this BTree Map
…-table, r=GuillaumeGomez rustdoc: word wrap CamelCase in the item list table and sidebar This is an alternative to rust-lang#126209. That is, it fixes the issue that affects the very long type names in https://docs.rs/async-stripe/0.31.0/stripe/index.html#structs. This is, necessarily, a pile of nasty heuristics. We need to balance a few issues: - Sometimes, there's no real word break. For example, `BTreeMap` should be `BTree<wbr>Map`, not `B<wbr>Tree<wbr>Map`. - Sometimes, there's a legit word break, but the name is tiny and the HTML overhead isn't worth it. For example, if we're typesetting `TyCtx`, writing `Ty<wbr>Ctx` would have an HTML overhead of 50%. Line breaking inside it makes no sense. # Screenshots | Before | After | | ------ | ----- | | ![image](https://github.com/rust-lang/rust/assets/1593513/d51201fd-46c0-4f48-aee6-a477eadba288) | ![image](https://github.com/rust-lang/rust/assets/1593513/d8e77582-adcf-4966-bbfd-19dfdad7336a)
…rochenkov Not lint pub structs without pub constructors intentionally Fixes rust-lang#128053
Stop using `MoveDataParamEnv` for places that don't need a param-env I think not threading through a `ParamEnv` makes it clearer that these functions don't do anything particularly "type systems"-y. r? cjgillot
…=dtolnay,jieyouxu Stabilize offset_of_nested Tracking issue rust-lang#120140. Closes rust-lang#120140. As the FCP is now nearing its end I have opened a stabilization PR. I have done this separately to the offset_of_enum feature, since that FCP has not started. `@rustbot` label F-offset_of_nested T-lang T-libs-api
simplify the use of `CiEnv` self-explanatory
triagebot: make sure Nora is called Nora r? `@Noratrieb`
@bors r+ rollup=never p=6 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: 612a33f20b In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (368e2fd): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary 0.4%, secondary 7.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 6.7%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 769.793s -> 770.094s (0.04%) |
Visiting for weekly rustc-perf triage
@rustbot label: +perf-regression-triaged |
Successful merges:
MoveDataParamEnv
for places that don't need a param-env #128153 (Stop usingMoveDataParamEnv
for places that don't need a param-env)CiEnv
#128342 (simplify the use ofCiEnv
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup