982b49494e
This is to make the diff when stabilizing it easier to review.
10 lines
165 B
Rust
10 lines
165 B
Rust
#![feature(coroutines)]
|
|
|
|
fn main() {
|
|
let _ = || {
|
|
*(1 as *mut u32) = 42;
|
|
//~^ ERROR dereference of raw pointer is unsafe
|
|
yield;
|
|
};
|
|
}
|