rust/tests/ui/issues/issue-21596.rs

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

6 lines
110 B
Rust
Raw Normal View History

2019-06-01 18:24:19 -05:00
fn main() {
let x = 8u8;
let z: *const u8 = &x;
println!("{}", z.to_string()); //~ ERROR E0599
}