-
Notifications
You must be signed in to change notification settings - Fork 13k
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 6 pull requests #71491
Rollup of 6 pull requests #71491
Conversation
Co-authored-by: Mark-Simulacrum <mark.simulacrum@gmail.com>
Co-Authored-By: Mark-Simulacrum <mark.simulacrum@gmail.com>
…gnostic, r=estebank Make the `structural_match` error diagnostic for const generics clearer The previous diagnostic caused confusion (rust-lang#70790), so this changes the message to be closer to the message for using non-`structural_match` constants in patterns, explicitly mentioning `#[derive(PartialEq, Eq)]`. Fixes rust-lang#70790. r? @estebank
…Mark-Simulacrum Document unsafety in core::{option, hash} Helps with rust-lang#66219. I think that the part that will need reviewing the most is the `hash/sip.rs` file. r? @LukasKalbertodt (or someone else from the libs team)
Tweak `'static` suggestion code Fix rust-lang#71196.
…tebank fix error code in E0751.md reference: rust-lang#71304
…=Mark-Simulacrum Set `--cfg bootstrap` for stage0 rustdoc Resolves rust-lang#71455. With this patch, running `./x.py doc --stage 0 src/libstd` with a clean `build` dir successfully outputs docs for `core`, `alloc` and `std` in under a minute. This kind of turnaround for viewing small changes to the standard library documentation is quite nice, and I think we should endeavour to keep it working. I'm not sure how involved that would be though. r? @Mark-Simulacrum
…RalfJung Add leading 0x to offset in Debug fmt of Pointer Currently the `Debug` format for `Pointer` prints its offset in hexadecimal, for example, `alloc38657819+e2` or `alloc35122748+64`. This PR adds a leading `0x` to the offset, in order to make it apparent that it is indeed a hexadecimal number. This came up during discussion of rust-lang/miri#1354. r? @RalfJung
@bors r+ p=6 rollup=never |
📌 Commit a9da98f has been approved by |
⌛ Testing commit a9da98f with merge f6f3fd5e2b71803a322096caea2228e95cc7bb45... |
💔 Test failed - checks-azure |
looks like it spuriously failed on wasm... :/ @bors retry |
⌛ Testing commit a9da98f with merge 0e3e6e59d5c336c0c8037a734186b811b58aa4a0... |
💔 Test failed - checks-azure |
☔ The latest upstream changes (presumably #71496) made this pull request unmergeable. Please resolve the merge conflicts. |
Successful merges:
structural_match
error diagnostic for const generics clearer #70845 (Make thestructural_match
error diagnostic for const generics clearer)'static
suggestion code #71235 (Tweak'static
suggestion code)--cfg bootstrap
for stage0 rustdoc #71458 (Set--cfg bootstrap
for stage0 rustdoc)Failed merges:
r? @ghost