rust/compiler/rustc_trait_selection
fee1-dead c1f8a3ffb2
Rollup merge of #105655 - RedDocMD:bug-105645, r=oli-obk
Remove invalid case for mutable borrow suggestion

If we have a call such as `foo(&mut buf)` and after reference
collapsing the type is inferred as `&T` where-as the required type is
`&mut T`, don't suggest `foo(&mut mut buf)`. This is wrong syntactically
and the issue lies elsewhere, not in the borrow.

Fixes #105645
2023-01-09 23:35:27 +08:00
..
src Rollup merge of #105655 - RedDocMD:bug-105645, r=oli-obk 2023-01-09 23:35:27 +08:00
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00