3 lines
76 B
Rust
3 lines
76 B
Rust
|
fn bad (p: *int) {
|
||
|
let _q: &int = p as ∫ //~ ERROR non-scalar cast
|
||
|
}
|