summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/chain-method-call-mutation-in-place.rs
blob: cb92ab87a8ff723ab76c6d6ddb6f5b02936e77a3 (plain)
1
2
3
4
fn main() {}
fn foo(mut s: String) -> String {
    s.push_str("asdf") //~ ERROR mismatched types
}