rust/compiler/rustc_borrowck/src
Matthias Krüger 32e0fe129d
Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errors
Use more slice patterns inside the compiler

Nothing super noteworthy. Just replacing the common 'fragile' pattern of "length check followed by indexing or unwrap" with slice patterns for legibility and 'robustness'.

r? ghost
2024-08-11 07:51:51 +02:00
..
constraints Reformat use declarations. 2024-07-29 08:26:52 +10:00
diagnostics Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errors 2024-08-11 07:51:51 +02:00
polonius Reformat use declarations. 2024-07-29 08:26:52 +10:00
region_infer Don't arbitrarily choose one upper bound for hidden captured region 2024-08-06 15:43:41 -04:00
type_check Normalize when equating dyn tails in MIR borrowck 2024-08-05 14:28:06 -04:00
util Reformat use declarations. 2024-07-29 08:26:52 +10:00
borrow_set.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
borrowck_errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
consumers.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
dataflow.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
def_use.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
facts.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Stop using MoveDataParamEnv for places that don't need a param-env 2024-07-29 11:59:47 -04:00
location.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
member_constraints.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
nll.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
path_utils.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
place_ext.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
places_conflict.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
prefixes.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
renumber.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
session_diagnostics.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
universal_regions.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
used_muts.rs Rename 'cx to 'infcx 2024-06-27 09:07:57 +00:00