99f2977031
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
15 lines
358 B
Plaintext
15 lines
358 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/occurs-check-2.rs:7:9
|
|
|
|
|
LL | f = box g;
|
|
| ^^^^^ cyclic type of infinite size
|
|
|
|
|
help: try using a conversion method
|
|
|
|
|
LL | f = (box g).to_string();
|
|
| + +++++++++++++
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|