]> git.lizzy.rs Git - rust.git/blob - src/test/ui/occurs-check.stderr
Move generic error message to separate branches
[rust.git] / src / test / ui / occurs-check.stderr
1 error[E0308]: mismatched types
2   --> $DIR/occurs-check.rs:5:9
3    |
4 LL |     f = Box::new(f);
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`.