]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-53348.stderr
Auto merge of #52101 - japaric:linker-flavor, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-53348.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-53348.rs:20:13
3    |
4 LL |         a = *i.to_string();
5    |             ^^^^^^^^^^^^^^ expected struct `std::string::String`, found str
6    |
7    = note: expected type `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`.