blob: a6d9df9523af80e1a5b77985e9ef488905dae8f5 (
plain)
1
2
3
4
5
6
7
8
9
|
// build-pass
#![feature(dyn_star)]
//~^ WARN the feature `dyn_star` is incomplete and may not be safe to use and/or cause compiler crashes
fn main() {
let x: dyn* Send = &();
let x = Box::new(x) as Box<dyn Send>;
}
|