]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/chain-method-call-mutation-in-place.rs
Rollup merge of #87596 - jesyspa:issue-87318-hidden-whitespace, r=estebank
[rust.git] / src / test / ui / suggestions / chain-method-call-mutation-in-place.rs
1 fn main() {}
2 fn foo(mut s: String) -> String {
3     s.push_str("asdf") //~ ERROR mismatched types
4 }