]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-2935.rs
3 #![allow(non_camel_case_types)]
4 #![feature(box_syntax)]
6 //type t = { a: isize };
7 // type t = { a: bool };
19 // let x = ({a: 4} as it);
20 // let y = box ({a: 4});
21 // let z = box ({a: 4} as it);
22 // let z = box ({a: true} as it);
23 let z
: Box
<_
> = box (box true as Box
<dyn it
>);
27 println
!("ok so far...");