-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 #100449
Rollup of 7 pull requests #100449
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 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cc8259e - Browse repository at this point
Copy the full SHA cc8259eView 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 -
Configuration menu - View commit details
-
Copy full SHA for 0436067 - Browse repository at this point
Copy the full SHA 0436067View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee8a01f - Browse repository at this point
Copy the full SHA ee8a01fView commit details
Commits on Aug 10, 2022
-
errors: don't fail on broken primary translations
If a primary bundle doesn't contain a message then the fallback bundle is used. However, if the primary bundle's message is broken (e.g. it refers to a interpolated variable that the compiler isn't providing) then this would just result in a compiler panic. While there aren't any primary bundles right now, this is the type of issue that could come up once translation is further along. Signed-off-by: David Wood <david.wood@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 2eebd34 - Browse repository at this point
Copy the full SHA 2eebd34View 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
Commits on Aug 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 98518c2 - Browse repository at this point
Copy the full SHA 98518c2View commit details
Commits on Aug 12, 2022
-
rustdoc: don't generate DOM element for operator
In our source page highlighting, we were generating `<span class="op">` tags for all "operators", including e.g. `<` `>` around generic parameters, `*`, `&`. This contributed significantly to DOM size, but we don't actually style `.op` except in the ayu theme. Remove the styles for `.op` in ayu, and stop generating the `<span>`s. This reduces DOM size of an example page[1] from 265,938 HTML elements to 242,165 elements, a 9% reduction. [1]: https://doc.rust-lang.org/nightly/src/core/up/up/stdarch/crates/core_arch/src/x86/avx512f.rs.html
Configuration menu - View commit details
-
Copy full SHA for dd4613c - Browse repository at this point
Copy the full SHA dd4613cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5765ae - Browse repository at this point
Copy the full SHA f5765aeView 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 5272810 - Browse repository at this point
Copy the full SHA 5272810View 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 511eda1 - Browse repository at this point
Copy the full SHA 511eda1View commit details -
Rollup merge of rust-lang#100255 - thedanvail:issue-98861-fix, r=josh…
…triplett Adding more verbose documentation for `std::fmt::Write` Attempts to address rust-lang#98861
Configuration menu - View commit details
-
Copy full SHA for dbea6ac - Browse repository at this point
Copy the full SHA dbea6acView commit details -
Rollup merge of rust-lang#100299 - compiler-errors:issue-100283, r=no…
…triddle make `clean::Item::span` return `Option` instead of dummy span Fixes rust-lang#100283
Configuration menu - View commit details
-
Copy full SHA for f3e083a - Browse repository at this point
Copy the full SHA f3e083aView commit details -
Rollup merge of rust-lang#100366 - davidtwco:translation-never-fail, …
…r=compiler-errors errors: don't fail on broken primary translations If a primary bundle doesn't contain a message then the fallback bundle is used. However, if the primary bundle's message is broken (e.g. it refers to a interpolated variable that the compiler isn't providing) then this would just result in a compiler panic. While there aren't any primary bundles right now, this is the type of issue that could come up once translation is further along. r? ``@compiler-errors`` (since this comes out of a in-person discussion we had at RustConf)
Configuration menu - View commit details
-
Copy full SHA for aa2b716 - Browse repository at this point
Copy the full SHA aa2b716View commit details -
Rollup merge of rust-lang#100396 - chenyukang:fix-100394, r=petrochenkov
Suggest const and static for global variable Fixing rust-lang#100394
Configuration menu - View commit details
-
Copy full SHA for e9fbfa2 - Browse repository at this point
Copy the full SHA e9fbfa2View commit details -
Rollup merge of rust-lang#100409 - jsha:highlight-lighter, r=Guillaum…
…eGomez rustdoc: don't generate DOM element for operator In our source page highlighting, we were generating `<span class="op">` tags for all "operators", including e.g. `<` `>` around generic parameters, `*`, `&`. This contributed significantly to DOM size, but we don't actually style `.op` except in the ayu theme. Remove the styles for `.op` in ayu, and stop generating the `<span>`s. This reduces DOM size of an example page[1] from 265,938 HTML elements to 242,165 elements, a 9% reduction. r? `@GuillaumeGomez` Demo: (warning - slow!) https://rustdoc.crud.net/jsha/highlight-lighter/src/core/up/up/stdarch/crates/core_arch/src/x86/avx512f.rs.html [1]: https://doc.rust-lang.org/nightly/src/core/up/up/stdarch/crates/core_arch/src/x86/avx512f.rs.html
Configuration menu - View commit details
-
Copy full SHA for 5a9a84f - Browse repository at this point
Copy the full SHA 5a9a84fView commit details