-
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 7 pull requests #123725
Rollup of 7 pull requests #123725
Commits on Apr 9, 2024
-
Add support to intrinsics fallback body
Before this fix, the call to `body()` would crash, since `has_body()` would return true, but we would try to retrieve the body of an intrinsic which is not allowed. Instead, the `Instance::body()` function will now convert an Intrinsic into an Item before retrieving its body.
Configuration menu - View commit details
-
Copy full SHA for 1512d06 - Browse repository at this point
Copy the full SHA 1512d06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c901f - Browse repository at this point
Copy the full SHA 03c901fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8940949 - Browse repository at this point
Copy the full SHA 8940949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 535151e - Browse repository at this point
Copy the full SHA 535151eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ceff692 - Browse repository at this point
Copy the full SHA ceff692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d81354 - Browse repository at this point
Copy the full SHA 2d81354View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee78eab - Browse repository at this point
Copy the full SHA ee78eabView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9e262a - Browse repository at this point
Copy the full SHA a9e262aView commit details -
Configuration menu - View commit details
-
Copy full SHA for da2b714 - Browse repository at this point
Copy the full SHA da2b714View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2bdb99 - Browse repository at this point
Copy the full SHA a2bdb99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f84f4b - Browse repository at this point
Copy the full SHA 5f84f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30c546a - Browse repository at this point
Copy the full SHA 30c546aView commit details -
Add const UTF-8 to UTF-16 conversion macros
`wide_str!` creates a null terminated UTF-16 string whereas `utf16!` just creates a UTF-16 string without adding a null.
Configuration menu - View commit details
-
Copy full SHA for b48e7e5 - Browse repository at this point
Copy the full SHA b48e7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952d432 - Browse repository at this point
Copy the full SHA 952d432View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f04a7 - Browse repository at this point
Copy the full SHA 19f04a7View commit details -
Further cleanup cfgs in the UI test suite
This commit does three things: 1. replaces (the last remaining) never true cfgs by the FALSE cfg 2. fix derive-helper-configured.rs (typo in directive) 3. and comment some current unused #[cfg_attr] (missing revisions)
Configuration menu - View commit details
-
Copy full SHA for 0c3f5cc - Browse repository at this point
Copy the full SHA 0c3f5ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for dac788f - Browse repository at this point
Copy the full SHA dac788fView commit details
Commits on Apr 10, 2024
-
rustdoc: load icons from css instead of inline
This cuts the HTML overhead for a page by about 1KiB, significantly reducing the overall size of the docs bundle.
Configuration menu - View commit details
-
Copy full SHA for 13235dc - Browse repository at this point
Copy the full SHA 13235dcView commit details -
rustdoc: remove unused 16x16 favicon
According to <https://caniuse.com/?search=svg%20favicon>, SVG favicons are supported in everything but Safari. When I actually try it in Safari, it's downloading all three favicons, and nothing looks different when I disable the 16x16 one. <https://dev.to/masakudamatsu/favicon-nightmare-how-to-maintain-sanity-3al7>, which is linked from caniuse above, recommends an ico. However, the reason they recommend it is the apps that only support /favicon.ico exactly, and rustdoc can't assume it will be installed to the site root, so it's unfortunately up to the webmaster to make sure it's set up.
Configuration menu - View commit details
-
Copy full SHA for 87faa21 - Browse repository at this point
Copy the full SHA 87faa21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a007db - Browse repository at this point
Copy the full SHA 3a007dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cbe927 - Browse repository at this point
Copy the full SHA 1cbe927View commit details -
Only assert for child/parent projection compatibility AFTER checking …
…that theyre coming from the same place
Configuration menu - View commit details
-
Copy full SHA for 69b690f - Browse repository at this point
Copy the full SHA 69b690fView commit details -
Rollup merge of rust-lang#118391 - compiler-errors:lifetimes-eq, r=lcnr
Add `REDUNDANT_LIFETIMES` lint to detect lifetimes which are semantically redundant There already is a `UNUSED_LIFETIMES` lint which is fired when we detect where clause bounds like `where 'a: 'static`, however, it doesn't use the full power of lexical region resolution to detect failures. Right now `UNUSED_LIFETIMES` is an `Allow` lint, though presumably we could bump it to warn? I can (somewhat) easily implement a structured suggestion so this can be rustfix'd automatically, since we can just walk through the HIR body, replacing instances of the redundant lifetime. Fixes rust-lang#118376 r? lcnr
Configuration menu - View commit details
-
Copy full SHA for fa696a3 - Browse repository at this point
Copy the full SHA fa696a3View commit details -
Rollup merge of rust-lang#123534 - ChrisDenton:name, r=workingjubilee
Windows: set main thread name without re-encoding As a minor optimization, we can skip the runtime UTF-8 to UTF-16 conversion.
Configuration menu - View commit details
-
Copy full SHA for 38af5f9 - Browse repository at this point
Copy the full SHA 38af5f9View commit details -
Rollup merge of rust-lang#123659 - celinval:smir-fix-intrinsic, r=oli…
…-obk Add support to intrinsics fallback body Before this fix, the call to `body()` would crash, since `has_body()` would return true, but we would try to retrieve the body of an intrinsic which is not allowed. Instead, the `Instance::body()` function will now convert an Intrinsic into an Item before retrieving its body. Note: I also changed how we monomorphize the instance body. Unfortunately, the call still ICE for some shims. r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 2b4c581 - Browse repository at this point
Copy the full SHA 2b4c581View commit details -
Rollup merge of rust-lang#123689 - spastorino:pattern_types_const_gen…
…erics, r=oli-obk Add const generics support for pattern types r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 3f7ae68 - Browse repository at this point
Copy the full SHA 3f7ae68View commit details -
Rollup merge of rust-lang#123701 - compiler-errors:only-assert-after-…
…checking, r=WaffleLapkin Only assert for child/parent projection compatibility AFTER checking that theyre coming from the same place This assertion doesn't make sense until we check that these captures are actually equivalent. Fixes rust-lang#123697 <sub>Some days I wonder how I even write code that works...</sub>
Configuration menu - View commit details
-
Copy full SHA for 1002c65 - Browse repository at this point
Copy the full SHA 1002c65View commit details -
Rollup merge of rust-lang#123702 - Urgau:prep-work-for-compiletest-ch…
…eck-cfg-2, r=jieyouxu Further cleanup cfgs in the UI test suite This PR does more cleanup of cfgs in our UI test suite, in preparation for adding automatic always on check-cfg (but is IMO worth landing even without that follow up). To be more specific this PR: - replaces (the last remaining) never true cfgs by the `FALSE` cfg - fix `proc-macro/derive-helper-configured.rs` *(typo in directive)* - and comment some current unused `#[cfg_attr]` *(missing revisions)* Follow-up to rust-lang#123577.
Configuration menu - View commit details
-
Copy full SHA for 7a29d39 - Browse repository at this point
Copy the full SHA 7a29d39View commit details -
Rollup merge of rust-lang#123706 - notriddle:notriddle/html-cleanup, …
…r=GuillaumeGomez rustdoc: reduce per-page HTML overhead r? `@GuillaumeGomez`
Configuration menu - View commit details
-
Copy full SHA for 96628f4 - Browse repository at this point
Copy the full SHA 96628f4View commit details