]> git.lizzy.rs Git - rust.git/blob - tests/ui/occurs-check-2.stderr
Rollup merge of #107482 - notriddle:notriddle/keywords, r=jsha
[rust.git] / tests / 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    |         ^^^^^^^^^^^ cyclic type of infinite size
6    |
7 help: consider unboxing the value
8    |
9 LL |     f = *Box::new(g);
10    |         +
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.