mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
982b49494e
This is to make the diff when stabilizing it easier to review.
8 lines
107 B
Rust
8 lines
107 B
Rust
fn f(p: *mut u8) {
|
|
*p = 0; //~ ERROR dereference of raw pointer is unsafe
|
|
return;
|
|
}
|
|
|
|
fn main() {
|
|
}
|