3 const CONST_0: dyn Debug + Sync = *(&0 as &(dyn Debug + Sync));
4 //~^ ERROR the size for values of type
6 const CONST_FOO: str = *"foo";
7 //~^ ERROR the size for values of type
9 static STATIC_1: dyn Debug + Sync = *(&1 as &(dyn Debug + Sync));
10 //~^ ERROR the size for values of type
12 static STATIC_BAR: str = *"bar";
13 //~^ ERROR the size for values of type
16 println!("{:?} {:?} {:?} {:?}", &CONST_0, &CONST_FOO, &STATIC_1, &STATIC_BAR);