]> git.lizzy.rs Git - rust.git/blob - src/test/ui/occurs-check-2.stderr
Rollup merge of #88090 - nbdd0121:inference, r=nikomatsakis
[rust.git] / src / test / ui / occurs-check-2.stderr
1 error[E0308]: mismatched types
2   --> $DIR/occurs-check-2.rs:7:9
3    |
4 LL |     f = Box::new(g);
5    |         ^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
6    |         |
7    |         cyclic type of infinite size
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.