1 #![feature(dyn_star, trait_upcasting)]
2 //~^ WARN the feature `dyn_star` is incomplete and may not be safe to use and/or cause compiler crashes
10 let x: Box<dyn* A> = Box::new(1usize as dyn* A);
11 let y: Box<dyn* B> = x;
12 //~^ ERROR mismatched types