rust/src/test/ui/occurs-check-2.stderr
2018-12-25 21:08:33 -07:00

13 lines
343 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: `box g.to_string()`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.