]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-21596.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-21596.rs
1 fn main() {
2     let x = 8u8;
3     let z: *const u8 = &x;
4     println!("{}", z.to_string());  //~ ERROR E0599
5 }