1 error[E0308]: mismatched types
2 --> $DIR/occurs-check-2.rs:17:9
7 | cyclic type of infinite size
8 | help: try using a conversion method: `box g.to_string()`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.