fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0072]: recursive type `ListNode` has infinite size 2 --> $DIR/multiline-span-E0072.rs:2:1 3 | 4LL | / struct 5LL | | ListNode 6 | |________^ 7... 8LL | tail: Option<ListNode>, 9 | -------- recursive without indirection 10 | 11help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle 12 | 13LL | tail: Option<Box<ListNode>>, 14 | ++++ + 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0072`.