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