14 | | {
15 | | head: u8,
16 | | tail: Option<ListNode>,
+ | | ---------------------- recursive without indirection
17 | | }
| |_^ recursive type has infinite size
|
= help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `ListNode` representable
-error: aborting due to previous error
+error: aborting due to previous error(s)