fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
444 B14 linesraw
1error[E0072]: recursive type `Bar` has infinite size
2  --> $DIR/issue-3008-1.rs:5:1
3   |
4LL | enum Bar {
5   | ^^^^^^^^ recursive type has infinite size
6...
7LL |     BarSome(Bar)
8   |             --- recursive without indirection
9   |
10   = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `Bar` representable
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0072`.