rust/tests/ui/error-codes/E0607.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
89 B
Rust
Raw Normal View History

2017-06-07 22:13:28 +00:00
fn main() {
let v = core::ptr::null::<u8>();
2017-06-07 22:13:28 +00:00
v as *const [u8]; //~ ERROR E0607
}