]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/chain-method-call-mutation-in-place.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[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 }