mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +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() {
|
|
}
|