]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-53348.stderr
949d9a2f47d3db58a256b5e0a163685c581f0ae4
[rust.git] / src / test / ui / issues / issue-53348.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-53348.rs:10:13
3    |
4 LL |         a = *i.to_string();
5    |             ^^^^^^^^^^^^^^ expected struct `std::string::String`, found str
6    |
7    = note: expected struct `std::string::String`
8                 found type `str`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.