rust/compiler/rustc_borrowck/src
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
..
constraints Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obk 2022-12-20 07:27:01 +00:00
diagnostics Rollup merge of #106410 - clubby789:borrow-mut-self-mut-self-diag, r=compiler-errors 2023-01-08 17:01:46 +09:00
region_infer Hackily fix an opaque type ICE 2022-12-20 13:43:41 +00:00
type_check fix more clippy::style findings 2022-12-25 17:32:26 +01:00
borrow_set.rs rustc_borrowck: remove ref patterns 2022-12-06 14:45:58 +00:00
borrowck_errors.rs Detect closures assigned to binding in block 2023-01-05 21:29:36 +00:00
constraint_generation.rs lint auto pass 2022-11-09 20:42:16 +08:00
consumers.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
dataflow.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
def_use.rs lint auto pass 2022-11-09 20:42:16 +08:00
facts.rs lint auto pass 2022-11-09 20:42:16 +08:00
invalidation.rs Remove unneeded field from SwitchTargets 2022-12-09 04:53:10 -08:00
lib.rs Merge borrowck permission checks 2023-01-04 15:25:45 +01:00
location.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
member_constraints.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
nll.rs Create format_args as late as possible 2022-12-01 08:49:51 +00:00
path_utils.rs lint auto pass 2022-11-09 20:42:16 +08:00
place_ext.rs lint auto pass 2022-11-09 20:42:16 +08:00
places_conflict.rs OpaqueCast projections are always overlapping, they can't possibly be disjoint 2022-11-23 14:37:13 +00:00
prefixes.rs lint auto pass 2022-11-09 20:42:16 +08:00
renumber.rs lint auto pass 2022-11-09 20:42:16 +08:00
session_diagnostics.rs struct error E0505 2022-11-09 21:15:31 +08:00
universal_regions.rs rustc_borrowck: remove ref patterns 2022-12-06 14:45:58 +00:00
used_muts.rs lint auto pass 2022-11-09 20:42:16 +08:00