fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0072]: recursive type `ListNode` has infinite size 2 --> $DIR/multiline-span-E0072.rs:2:1 3 | 4LL | / struct 5LL | | ListNode 6LL | | { 7LL | | head: u8, 8LL | | tail: Option<ListNode>, 9 | | ---------------------- recursive without indirection 10LL | | } 11 | |_^ recursive type has infinite size 12 | 13 = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `ListNode` representable 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0072`.