error[E0308]: mismatched types | |
--> $DIR/default-body-type-err-2.rs:7:9 | |
| | |
LL | 42 | |
| ^^- help: try using a conversion method: `.to_string()` | |
| | | |
| expected `String`, found integer | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0308`. |