]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deref.rs
Rollup merge of #89257 - aDotInTheVoid:macro-error-2, r=estebank
[rust.git] / src / test / ui / deref.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 pub fn main() {
5     let x: Box<isize> = Box::new(10);
6     let _y: isize = *x;
7 }