summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-21596.rs
blob: 79f6c91d9ac97dd0b899a224a202851fc39f0592 (plain)
1
2
3
4
5
fn main() {
    let x = 8u8;
    let z: *const u8 = &x;
    println!("{}", z.to_string());  //~ ERROR E0599
}