]> git.proxmox.com Git - rustc.git/blob - src/test/ui/span/E0072.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / span / E0072.stderr
1 error[E0072]: recursive type `ListNode` has infinite size
2 --> $DIR/E0072.rs:11:1
3 |
4 11 | struct ListNode { //~ ERROR has infinite size
5 | ^^^^^^^^^^^^^^^ recursive type has infinite size
6 12 | head: u8,
7 13 | tail: Option<ListNode>,
8 | ---------------------- recursive without indirection
9 |
10 = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `ListNode` representable
11
12 error: aborting due to previous error
13