rust/compiler/rustc_session/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
..
config Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
code_stats.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
config.rs Split ColorConfig off of HumanReadableErrorType 2024-08-08 14:41:33 +00:00
cstore.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
filesearch.rs linker: Pass fewer search directories to the linker 2024-08-03 14:20:18 +03:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
options.rs Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errors 2024-08-11 07:51:51 +02:00
output.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
parse.rs Make Span optional in BufferedEarlyLint 2024-08-07 14:08:34 +02:00
search_paths.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
session.rs review comments 2024-08-08 14:58:52 +00:00
utils.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
version.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00