fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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