rust/compiler/rustc_borrowck
Yuki Okushi fe075319e6
Rollup merge of #106410 - clubby789:borrow-mut-self-mut-self-diag, r=compiler-errors
Suggest `mut self: &mut Self` for `?Sized` impls

Closes #106325
Closes #93078

The suggestion is _probably_ not what the user wants (hence `MaybeIncorrect`) but at least makes the problem in the above issues clearer. It might be better to add a note explaining why this is the case, but I'm not sure how best to word that so this is a start.

``@rustbot`` label +A-diagnostics
2023-01-08 17:01:46 +09:00
..
src Rollup merge of #106410 - clubby789:borrow-mut-self-mut-self-diag, r=compiler-errors 2023-01-08 17:01:46 +09:00
Cargo.toml Do not use hir_ty_to_ty 2022-12-23 16:45:16 -08:00