Skip to content

Commit a7809bf

Browse files
committed
Auto merge of #1117 - rust-lang:rustup, r=RalfJung
Rustup to rustc 1.42.0-nightly (9ff30a781 2019-12-21)
2 parents 6c75a95 + d9859c8 commit a7809bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a605441e049f0b6d5f7715b94b8ac4662fd7fcf6
1+
9ff30a7810c586819a78188c173a7b74adbb9730

tests/compile-fail/stacked_borrows/illegal_write6.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ fn main() {
77
fn foo(a: &mut u32, y: *mut u32) -> u32 {
88
*a = 1;
99
let _b = &*a;
10-
unsafe { *y = 2; } //~ ERROR: borrow stack
10+
unsafe { *y = 2; } //~ ERROR: not granting access to tag
1111
return *a;
1212
}

0 commit comments

Comments
 (0)