]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/in-trait/default-body-type-err-2.stderr
Rollup merge of #105405 - sunfishcode:sunfishcode/export-dynamic, r=TaKO8Ki
[rust.git] / src / test / ui / impl-trait / in-trait / default-body-type-err-2.stderr
1 error[E0308]: mismatched types
2   --> $DIR/default-body-type-err-2.rs:8:9
3    |
4 LL |         42
5    |         ^^- help: try using a conversion method: `.to_string()`
6    |         |
7    |         expected struct `String`, found integer
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.