-
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 #100395
Rollup of 7 pull requests #100395
Commits on Aug 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 847f461 - Browse repository at this point
Copy the full SHA 847f461View commit details
Commits on Aug 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 127b6c4 - Browse repository at this point
Copy the full SHA 127b6c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7c45ec - Browse repository at this point
Copy the full SHA a7c45ecView commit details
Commits on Aug 6, 2022
-
Remove duplicated temporaries creating during box derefs elaboration
Temporaries created with `MirPatch::new_temp` will be declared after patch application. Remove manually created duplicate declarations. Removing duplicates exposes another issue. Visitor elaborates terminator twice and attempts to access new, but not yet available, local declarations. Remove duplicated call to `visit_terminator`.
Configuration menu - View commit details
-
Copy full SHA for 18a21e1 - Browse repository at this point
Copy the full SHA 18a21e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d2131a - Browse repository at this point
Copy the full SHA 7d2131aView commit details
Commits on Aug 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d52ed82 - Browse repository at this point
Copy the full SHA d52ed82View commit details
Commits on Aug 10, 2022
-
rustdoc: simplify highlight.rs
Split render_with_highlighting, which took many optional parameters, into three functions for specific purposes, which each take a smaller number of mostly required parameters. Remove some plumbing to pass through an "edition" parameter, which was used solely to avoid highlighting some 2021 Edition keywords in non-2021 code.
Configuration menu - View commit details
-
Copy full SHA for 5938fd7 - Browse repository at this point
Copy the full SHA 5938fd7View commit details -
Improve crate selection on rustdoc search results page
Resolves all of issue rust-lang#93240 Reproduces a similar change as rust-lang#99086, but with improvements In particular, this PR inlcludes: * redesigning the crate-search selector so the background color matches its surroundings * decrease the font of the dropdown menu to a reaonable size * add a hover effect * make the color of the arrow theme-dependent, using a surrounding div, with :after pseudo-element that can then be transformed using CSS filters to approximate the desired color * fix the text "in" to match the title font * remove the "for xyz" in the "Results for xyz in [All crates]" title when searching for search term "xyz"; you can already see what you're searching for as it's typed in the search bar! * in line with rust-lang#99086, handle super-long crate names appropriately without a long <select> element escaping the screen area; the improvement is that we also keep the title within a single line now; uses some flex layout shenanigans... * the margins / paddings are adjusted so the selected label of the <select> fits within the rest of that title nicely; also some inconsistency in the way that Firefox renders a <select> with "appearance: none" (roughly 4px more padding left and right of the text than e.g. Chrome) is worked around, and it now produces a result that looks (essentially) identical to Chrome * the color of the help menu and settings menu border in light theme is made to match with the color of the corresponding buttons, like they do (match) in the ayu theme * the casing of "All crates" changes to "all crates" * the new tests from rust-lang#99086 are temporarily disabled, until they can be adapted later
Configuration menu - View commit details
-
Copy full SHA for 16bcc18 - Browse repository at this point
Copy the full SHA 16bcc18View commit details -
Fix oversight duplicate property left in CSS (dark theme). Improve wording in comment that mentions `appearance: none`
Configuration menu - View commit details
-
Copy full SHA for e957480 - Browse repository at this point
Copy the full SHA e957480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 107e039 - Browse repository at this point
Copy the full SHA 107e039View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea05be2 - Browse repository at this point
Copy the full SHA ea05be2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1e25a8 - Browse repository at this point
Copy the full SHA e1e25a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df84ae - Browse repository at this point
Copy the full SHA 0df84aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b84ad - Browse repository at this point
Copy the full SHA a3b84adView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfb3713 - Browse repository at this point
Copy the full SHA dfb3713View commit details
Commits on Aug 11, 2022
-
Rollup merge of rust-lang#92744 - lambinoo:I-91161-non-exhaustive-for…
…eign-variants, r=scottmcm Check if enum from foreign crate has any non exhaustive variants when attempting a cast Fixes rust-lang#91161 As stated in the issue, this will require a crater run as it might break other people's stuff.
Configuration menu - View commit details
-
Copy full SHA for 23acd82 - Browse repository at this point
Copy the full SHA 23acd82View commit details -
Rollup merge of rust-lang#99337 - jsha:simplify-highlight, r=Guillaum…
…eGomez rustdoc: simplify highlight.rs Split render_with_highlighting, which took many optional parameters, into three functions for specific purposes, which each take a smaller number of mostly required parameters. Remove some plumbing to pass through an "edition" parameter, which was used solely to avoid highlighting some 2021 Edition keywords in non-2021 code. I've tested a build of std docs before and after, and this does not change the generated HTML at all. Followup from rust-lang#91264 (comment) r? ``@GuillaumeGomez``
Configuration menu - View commit details
-
Copy full SHA for 72d0be4 - Browse repository at this point
Copy the full SHA 72d0be4View commit details -
Rollup merge of rust-lang#100007 - ChrisDenton:dtor-inline-never, r=m…
…ichaelwoerister Never inline Windows dtor access Inlining can cause problem If used in a Rust dylib. See rust-lang#44391. r? `@Mark-Simulacrum`
Configuration menu - View commit details
-
Copy full SHA for 5b2ad6e - Browse repository at this point
Copy the full SHA 5b2ad6eView commit details -
Rollup merge of rust-lang#100030 - WaffleLapkin:nice_pointer_sis, r=s…
…cottmcm cleanup code w/ pointers in std a little Use pointer methods (`byte_add`, `null_mut`, etc) to make code in std a little nicer.
Configuration menu - View commit details
-
Copy full SHA for 8bdb414 - Browse repository at this point
Copy the full SHA 8bdb414View commit details -
Rollup merge of rust-lang#100192 - tmiasko:rm-duplicated-locals, r=na…
…gisa Remove duplicated temporaries creating during box derefs elaboration Temporaries created with `MirPatch::new_temp` will be declared after patch application. Remove manually created duplicate declarations. Removing duplicates exposes another issue. Visitor elaborates terminator twice and attempts to access new, but not yet available, local declarations. Remove duplicated call to `visit_terminator`. Extracted from rust-lang#99946.
Configuration menu - View commit details
-
Copy full SHA for 58dc085 - Browse repository at this point
Copy the full SHA 58dc085View commit details -
Rollup merge of rust-lang#100247 - cjgillot:verify-dyn-trait-alias-de…
…faults, r=lcnr Generalize trait object generic param check to aliases. The current algorithm only checks that `Self` does not appear in defaults for traits. This is not sufficient for trait aliases. This PR moves the check to trait object elaboration, which sees through trait aliases. Fixes rust-lang#82927. Fixes rust-lang#84789.
Configuration menu - View commit details
-
Copy full SHA for a9f3a27 - Browse repository at this point
Copy the full SHA a9f3a27View commit details -
Rollup merge of rust-lang#100374 - GuillaumeGomez:improve_rustdoc_sea…
…rch_results_page_crates_selection, r=notriddle Improve crate selection on rustdoc search results page Take over of rust-lang#98855 (screenshots and explanations are there). You can test it [here](https://rustdoc.crud.net/imperio/improve_rustdoc_search_results_page_crates_selection/std/index.html?search=test). cc `@steffahn` `@jsha` r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for 5a5cd6b - Browse repository at this point
Copy the full SHA 5a5cd6bView commit details