Simplify suggestions for errors in generators. Split from https://github.com/rust-lang/rust/pull/101692/