1 error[E0507]: cannot move out of borrowed content
2 --> $DIR/E0161.rs:14:28
4 LL | let _x: Box<str> = box *"hello"; //~ ERROR E0161
5 | ^^^^^^^^ cannot move out of borrowed content
7 error[E0161]: cannot move a value of type str: the size of str cannot be statically determined
8 --> $DIR/E0161.rs:14:28
10 LL | let _x: Box<str> = box *"hello"; //~ ERROR E0161
13 error: aborting due to 2 previous errors
15 Some errors occurred: E0161, E0507.
16 For more information about an error, try `rustc --explain E0161`.