1 error[E0382]: use of partially moved value: `node`
2 --> $DIR/moves-based-on-type-cyclic-types-issue-4821.rs:13:13
4 LL | Some(right) => consume(right),
5 | ----- value partially moved here
8 | ^^^^ value used here after partial move
10 = note: partial move occurs because value has type `Box<List>`, which does not implement the `Copy` trait
11 help: borrow this binding in the pattern to avoid moving the value
13 LL | Some(ref right) => consume(right),
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0382`.