1 error[E0382]: borrow of moved value: `n`
2 --> $DIR/use-after-move-implicity-coerced-object.rs:28:13
4 LL | let n: Box<_> = box Number { n: 42 };
5 | - move occurs because `n` has type `Box<Number>`, which does not implement the `Copy` trait
6 LL | let mut l: Box<_> = box List { list: Vec::new() };
9 LL | let x = n.to_string();
10 | ^ value borrowed here after move
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0382`.