]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/multiline-span-E0072.stderr
Haiku: add missing cases of using LIBRARY_PATH
[rust.git] / src / test / ui / span / multiline-span-E0072.stderr
1 error[E0072]: recursive type `ListNode` has infinite size
2   --> $DIR/multiline-span-E0072.rs:12:1
3    |
4 12 |   struct
5    |  _^ starting here...
6 13 | | ListNode
7 14 | | {
8 15 | |     head: u8,
9 16 | |     tail: Option<ListNode>,
10 17 | | }
11    | |_^ ...ending here: recursive type has infinite size
12    |
13    = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `ListNode` representable
14
15 error: aborting due to previous error
16