Skip to content

Conversation

Dylan-DPC-zz
Copy link

Successful merges:

Failed merges:

r? @ghost

LeSeulArtichaut and others added 17 commits April 11, 2020 20:11
The feature will become stable in Rust 1.45.
Noted that the value of UNICODE_VERSION is expected to change.
Co-authored-by: Mark-Simulacrum <[email protected]>
Co-Authored-By: Mark-Simulacrum <[email protected]>
…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)
…imonSapin

Stabilize UNICODE_VERSION (feature unicode_version)

Tracking issue: rust-lang#49726

r? @sfackler

rust-lang#71020 changed the definition of `UNICODE_VERSION` just yesterday from a struct to a tuple. Maybe you want to wait some more before stabilizing this constant, on the other hand this is a very small and simple addition.

CC @behnam @SimonSapin @Serentty
…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
…r=Mark-Simulacrum

Document unsafety in core::{panicking, alloc::layout, hint, iter::adapters::zip}

Helps with rust-lang#66219.
r? @Mark-Simulacrum do you want to continue reading safety comments? :D
@Dylan-DPC-zz
Copy link
Author

@bors r+ rollup=never p=6

@bors
Copy link
Collaborator

bors commented Apr 24, 2020

📌 Commit 8a0e88e has been approved by Dylan-DPC

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 24, 2020
@bors
Copy link
Collaborator

bors commented Apr 24, 2020

⌛ Testing commit 8a0e88e with merge 45c7838...

@bors
Copy link
Collaborator

bors commented Apr 24, 2020

☀️ Test successful - checks-azure
Approved by: Dylan-DPC
Pushing 45c7838 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 24, 2020
@bors bors merged commit 45c7838 into rust-lang:master Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants