Skip to content

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Apr 18, 2020

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 18, 2020
@@ -361,12 +361,14 @@ where
pub fn mplace_access_checked(
&self,
mut place: MPlaceTy<'tcx, M::PointerTag>,
force_align: Option<Align>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please leave a comment on this argument noting that is is only used to allow stacked borrows in miri to handle raw borrows.

@oli-obk
Copy link
Contributor

oli-obk commented Apr 22, 2020

r=me with the comment added

@RalfJung
Copy link
Member Author

@bors r=oli-obk

@bors
Copy link
Collaborator

bors commented Apr 22, 2020

📌 Commit 5449e0f has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 22, 2020
@RalfJung
Copy link
Member Author

@bors rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 22, 2020
Rollup of 4 pull requests

Successful merges:

 - rust-lang#71280 (Miri: mplace_access_checked: offer option to force different alignment on place)
 - rust-lang#71336 (Exhaustively match on `{Statement,Terminator}Kind` during const checking)
 - rust-lang#71370 (Added detailed error code explanation for issue E0696 in Rust compiler.)
 - rust-lang#71401 (visit_place_base is just visit_local)

Failed merges:

r? @ghost
@bors bors merged commit e69141a into rust-lang:master Apr 22, 2020
bors added a commit to rust-lang/miri that referenced this pull request Apr 22, 2020
Stacked Borrows: alignment does not matter

Fixes #1339
Requires rust-lang/rust#71280
@RalfJung RalfJung deleted the mplace-check-align branch April 23, 2020 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

4 participants