rust/tests/ui/issues/issue-21596.rs
2023-01-11 09:32:08 +00:00

5 lines
110 B
Rust

fn main() {
let x = 8u8;
let z: *const u8 = &x;
println!("{}", z.to_string()); //~ ERROR E0599
}