rust/compiler/rustc_trait_selection
Deep Majumder 9c8bf51f14 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
2022-12-13 15:57:48 +05:30
..
src Remove invalid case for mutable borrow suggestion 2022-12-13 15:57:48 +05:30
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00