Skip to content

Commit 3275df3

Browse files
committed
rustup
1 parent 16c69fd commit 3275df3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9bd53718e2537d95d8c092609618c2dcd6f05127
1+
d2df372bca13bb60979c909660e69f2451630e81
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[allow(deref_nullptr)]
22
fn main() {
3-
let x: i32 = unsafe { *std::ptr::null() }; //~ ERROR null pointer is not a valid pointer for this operation
3+
let x: i32 = unsafe { *std::ptr::null() }; //~ ERROR null pointer is not a valid pointer
44
panic!("this should never print: {}", x);
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#[allow(deref_nullptr)]
22
fn main() {
3-
unsafe { *std::ptr::null_mut() = 0i32 }; //~ ERROR null pointer is not a valid pointer for this operation
3+
unsafe { *std::ptr::null_mut() = 0i32 }; //~ ERROR null pointer is not a valid pointer
44
}

0 commit comments

Comments
 (0)