Skip to content

Commit

Permalink
Auto merge of #1533 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
rustup, fix test

Cc rust-lang/rust#76190
  • Loading branch information
bors committed Sep 1, 2020
2 parents 9123f0e + 3466462 commit 0a4ecfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18b0585b52741ca158dfebef7968326e2704352e
d9cd4a33f53689bc0847775669a14f666a138fd7
2 changes: 1 addition & 1 deletion tests/run-pass/stacked-borrows/interior_mutability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn into_interior_mutability() {
let mut x: MaybeUninit<(Cell<u32>, u32)> = MaybeUninit::uninit();
x.as_ptr();
x.write((Cell::new(0), 1));
let ptr = unsafe { x.get_ref() };
let ptr = unsafe { x.assume_init_ref() };
assert_eq!(ptr.1, 1);
}

Expand Down

0 comments on commit 0a4ecfc

Please sign in to comment.