-
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 5 pull requests #97835
Rollup of 5 pull requests #97835
Commits on May 23, 2022
-
Fix precise field capture of univariant enums
When constructing a MIR from a THIR field expression, introduce an additional downcast projection before accessing a field of an enum. When rebasing a place builder on top of a captured place, account for the fact that a single HIR enum field projection corresponds to two MIR projection elements: a downcast element and a field element.
Configuration menu - View commit details
-
Copy full SHA for 0e7eca7 - Browse repository at this point
Copy the full SHA 0e7eca7View commit details
Commits on Jun 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2e8508f - Browse repository at this point
Copy the full SHA 2e8508fView commit details -
Remove confusing sentence from
Mutex
docsThe docs were saying something about "statically initializing" the mutex, and it's not clear what this means. Remove that part to avoid confusion.
Configuration menu - View commit details
-
Copy full SHA for 83af085 - Browse repository at this point
Copy the full SHA 83af085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 232c2d6 - Browse repository at this point
Copy the full SHA 232c2d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5799e7d - Browse repository at this point
Copy the full SHA 5799e7dView commit details -
Update library/std/src/sync/mutex.rs
Co-authored-by: Weiyi Wang <wwylele@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e224185 - Browse repository at this point
Copy the full SHA e224185View commit details -
Improve the safety docs for
CStr
Namely, the two functions `from_ptr` and `from_bytes_with_nul_unchecked`. Before, this functions didn't state the requirements clearly enough, and I was not immediately able to find them like for other functions. This doesn't change the content of the docs, but simply rewords them for clarity.
Configuration menu - View commit details
-
Copy full SHA for 0dda42b - Browse repository at this point
Copy the full SHA 0dda42bView commit details -
Rollup merge of rust-lang#95948 - Nilstrieb:improve-cstr-safety-docs,…
… r=RalfJung Improve the safety docs for `CStr` Namely, the two functions `from_ptr` and `from_bytes_with_nul_unchecked`. Before, these functions didn't state the requirements clearly enough, and I was not immediately able to find them like for other functions. This doesn't change the content of the docs, but simply rewords them for clarity. note: I'm not entirely sure about the '`ptr` must be valid for reads of `u8`.', there might be room for improvement for this (and maybe for the other docs as well 😄)
Configuration menu - View commit details
-
Copy full SHA for a9c4a7e - Browse repository at this point
Copy the full SHA a9c4a7eView commit details -
Rollup merge of rust-lang#97325 - tmiasko:capture-enum-field, r=arora…
…-aman Fix precise field capture of univariant enums When constructing a MIR from a THIR field expression, introduce an additional downcast projection before accessing a field of an enum. When rebasing a place builder on top of a captured place, account for the fact that a single HIR enum field projection corresponds to two MIR projection elements: a downcast element and a field element. Fixes rust-lang#95271. Fixes rust-lang#96299. Fixes rust-lang#96512. Fixes rust-lang#97378. r? ``@nikomatsakis`` ``@arora-aman``
Configuration menu - View commit details
-
Copy full SHA for fd76e0e - Browse repository at this point
Copy the full SHA fd76e0eView commit details -
Rollup merge of rust-lang#97817 - lnicola:rust-analyzer-2022-06-07, r…
…=lnicola ⬆️ rust-analyzer r? ``@ghost``
Configuration menu - View commit details
-
Copy full SHA for 32d945d - Browse repository at this point
Copy the full SHA 32d945dView commit details -
Rollup merge of rust-lang#97821 - Nilstrieb:mutex-docs, r=Dylan-DPC
Remove confusing sentence from `Mutex` docs The docs were saying something about "statically initializing" the mutex, and it's not clear what this means. Remove that part to avoid confusion.
Configuration menu - View commit details
-
Copy full SHA for f12605b - Browse repository at this point
Copy the full SHA f12605bView commit details -
Rollup merge of rust-lang#97826 - GuillaumeGomez:rustdoc-gui-tests-in…
…fo, r=Dylan-DPC Add more information for rustdoc-gui tests It was missing `--no-sandbox` in the `--help` message and the README was a bit outdated. cc `@jsha` (I recall you asking some questions about passing arguments to the rustdoc gui tester so here it). r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for 4851ec7 - Browse repository at this point
Copy the full SHA 4851ec7View commit details