Skip to content

Conversation

RalfJung
Copy link
Member

@SkiFire13 pointed out that Miri fails to detect illegal use of empty slices. This PR fixes that. In so doing, it uncovers a flaw of Stacked Borrows: it is incompatible with how the formatting machinery uses extern type, so for now we skip reborrowing when we cannot determine the exact size of the pointee.

@RalfJung
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Feb 27, 2021

📌 Commit 48f7c8e has been approved by RalfJung

@bors
Copy link
Contributor

bors commented Feb 27, 2021

⌛ Testing commit 48f7c8e with merge 4ecb5a9...

@bors
Copy link
Contributor

bors commented Feb 27, 2021

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 4ecb5a9 to master...

@bors bors merged commit 4ecb5a9 into rust-lang:master Feb 27, 2021
@RalfJung RalfJung deleted the zst-reborrow branch March 2, 2021 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants