1 error[E0072]: recursive type `ElemDerived` has infinite size
2 --> $DIR/issue-72554.rs:4:1
4 LL | pub enum ElemDerived {
8 | ----------- recursive without indirection
10 help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
12 LL | A(Box<ElemDerived>)
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0072`.