-
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 11 pull requests #100416
Rollup of 11 pull requests #100416
Commits on Jul 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2036aea - Browse repository at this point
Copy the full SHA 2036aeaView 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 8, 2022
-
linux: Use
pthread_setname_np
instead ofprctl
This function is available on Linux since glibc 2.12, musl 1.1.16, and uClibc 1.0.20. The main advantage over `prctl` is that it properly represents the pointer argument, rather than a multi-purpose `long`, so we're better representing strict provenance (rust-lang#95496).
Configuration menu - View commit details
-
Copy full SHA for 013986b - Browse repository at this point
Copy the full SHA 013986bView commit details
Commits on Aug 10, 2022
-
Avoid repeating qualifiers on
static_assert_size
calls.Some of these don't need a `use` statement because there is already a `#[macro_use] extern crate rustc_data_structures` item in the crate.
Configuration menu - View commit details
-
Copy full SHA for 574ba83 - Browse repository at this point
Copy the full SHA 574ba83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0658e8c - Browse repository at this point
Copy the full SHA 0658e8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2b6744 - Browse repository at this point
Copy the full SHA a2b6744View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4f52a5 - Browse repository at this point
Copy the full SHA a4f52a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd06fb - Browse repository at this point
Copy the full SHA 0cd06fbView commit details -
This stabilizes `ptr_const_cast` feature as was decided in a recent [FCP](rust-lang#92675 (comment)) Closes rust-lang#92675
Configuration menu - View commit details
-
Copy full SHA for 2a3ce78 - Browse repository at this point
Copy the full SHA 2a3ce78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9701845 - Browse repository at this point
Copy the full SHA 9701845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69205db - Browse repository at this point
Copy the full SHA 69205dbView 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
-
Add a test for
-Zhir-stats
output.This will be very useful in subsequent commits where I will improve the output.
Configuration menu - View commit details
-
Copy full SHA for bf20777 - Browse repository at this point
Copy the full SHA bf20777View commit details -
This commit: - Adds a comment explaining which `visit_*` methods should be implemented. - Adds and removes some `visit_*` methods accordingly, improving coverage, and avoiding some double counting.
Configuration menu - View commit details
-
Copy full SHA for 288b667 - Browse repository at this point
Copy the full SHA 288b667View commit details -
Change how
AssocItem
is reported.Currently it's reported as either `TraitItem` or `ImplItem`. This commit changes it to `AssocItem`, because having the report match the type name is (a) consistent with other types, and (b) the trait/impl split isn't that important here.
Configuration menu - View commit details
-
Copy full SHA for 6a3c663 - Browse repository at this point
Copy the full SHA 6a3c663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c7492 - Browse repository at this point
Copy the full SHA 85c7492View commit details -
Add a second level to the AST size reporting.
This tells you which variants of the enums are most common, which is very useful. I've only done it for the AST for now, HIR can be done later.
Configuration menu - View commit details
-
Copy full SHA for 4f8a170 - Browse repository at this point
Copy the full SHA 4f8a170View commit details -
Configuration menu - View commit details
-
Copy full SHA for a72f0c2 - Browse repository at this point
Copy the full SHA a72f0c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46af79c - Browse repository at this point
Copy the full SHA 46af79cView commit details -
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 dfddc2f - Browse repository at this point
Copy the full SHA dfddc2fView commit details -
Rollup merge of rust-lang#99110 - audunhalland:match_has_guard_from_c…
…andidate, r=pnkfelix Determine match_has_guard from candidates instead of looking up thir table again Currently looking through mir build of matches because of interest in deref patterns. Finding some micro-optimizable things.
Configuration menu - View commit details
-
Copy full SHA for 561ea0a - Browse repository at this point
Copy the full SHA 561ea0aView commit details -
Rollup merge of rust-lang#100184 - Kixunil:stabilize_ptr_const_cast, …
…r=m-ou-se Stabilize ptr_const_cast This stabilizes `ptr_const_cast` feature as was decided in a recent [FCP](rust-lang#92675 (comment)) Closes rust-lang#92675
Configuration menu - View commit details
-
Copy full SHA for d749914 - Browse repository at this point
Copy the full SHA d749914View 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 32bd147 - Browse repository at this point
Copy the full SHA 32bd147View commit details -
Rollup merge of rust-lang#100232 - cjgillot:no-desugar-methodcall, r=…
…nagisa Do not consider method call receiver as an argument in AST. Fixes rust-lang#73663
Configuration menu - View commit details
-
Copy full SHA for 1c43cab - Browse repository at this point
Copy the full SHA 1c43cabView commit details -
Rollup merge of rust-lang#100287 - cuviper:no-linux-prctl, r=Mark-Sim…
…ulacrum linux: Use `pthread_setname_np` instead of `prctl` This function is available on Linux since glibc 2.12, musl 1.1.16, and uClibc 1.0.20. The main advantage over `prctl` is that it properly represents the pointer argument, rather than a multi-purpose `long`, so we're better representing strict provenance (rust-lang#95496).
Configuration menu - View commit details
-
Copy full SHA for a5b0f72 - Browse repository at this point
Copy the full SHA a5b0f72View commit details -
Rollup merge of rust-lang#100351 - compiler-errors:diagnostic-convent…
…ion, r=fee1-dead Use `&mut Diagnostic` instead of `&mut DiagnosticBuilder` unless needed This seems to be the established convention (02ff9e0) when `DiagnosticBuilder` was first added. I am guilty of introducing some of these.
Configuration menu - View commit details
-
Copy full SHA for b5f5bdc - Browse repository at this point
Copy the full SHA b5f5bdcView commit details -
Rollup merge of rust-lang#100370 - GuillaumeGomez:rm-more-clean-impls…
…, r=Dylan-DPC Remove more Clean trait implementations Follow-up of rust-lang#99638. r? `@Dylan-DPC`
Configuration menu - View commit details
-
Copy full SHA for 1d09545 - Browse repository at this point
Copy the full SHA 1d09545View commit details -
Rollup merge of rust-lang#100391 - nnethercote:improve-size-assertion…
…s, r=lqd Improve size assertions r? `@lqd`
Configuration menu - View commit details
-
Copy full SHA for bc0f9e3 - Browse repository at this point
Copy the full SHA bc0f9e3View commit details -
Rollup merge of rust-lang#100398 - nnethercote:improve-Zhir-stats, r=…
…michaelwoerister Improve `-Zhir-stats` Add testing, improve coverage, avoid some double counting, and add more detail. r? `@michaelwoerister`
Configuration menu - View commit details
-
Copy full SHA for 7ecc892 - Browse repository at this point
Copy the full SHA 7ecc892View commit details -
Rollup merge of rust-lang#100403 - GuillaumeGomez:improve-messages, r…
…=jsha Improve error messages when running rustdoc GUI tests There was already a message on how to install `browser-ui-test`, so nothing to be done there. However, we didn't show how to update its version, so the first commit adds it. Another pain point was how to fix the unexpected crash in `browser-ui-test` (because of a missing `--no-sandbox`, still no idea why it became mandatory a few months ago on some linux distributions...). It now looks like this: ```console Running 1 rustdoc-gui (8 concurrently) ... ERROR: puppeteer failed when trying to create a new page. Please try again with `--no-sandbox` `browser-ui-test` crashed unexpectedly. Please try again with adding `--test-args --no-sandbox` at the end. For example: `x.py test src/test/rustdoc-gui --test-args --no-sandbox` Build completed unsuccessfully in 0:00:03 ``` Thanks to `@jsha` for suggesting these improvements! r? `@jsha`
Configuration menu - View commit details
-
Copy full SHA for f583bf6 - Browse repository at this point
Copy the full SHA f583bf6View commit details