rust/compiler/rustc_session/src
Jonas Schievink 9867e54bea
Rollup merge of #78244 - workingjubilee:dogfood-fancy-ranges, r=varkor
Dogfood {exclusive,half-open} ranges in compiler (nfc)

In particular, this allows us to write more explicit matches that
avoid the pitfalls of using a fully general fall-through case, yet
remain fairly ergonomic. Less logic is in guard cases, more is in
the actual exhaustive case analysis.

No functional changes.
2020-10-29 17:05:11 +01:00
..
lint Added suggestion to function_item_references lint and fixed warning message 2020-10-27 11:04:04 -04:00
cgu_reuse_tracker.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Remove rustc_session::config::Config 2020-10-15 12:02:24 +02:00
filesearch.rs Dogfood {exclusive,half-open} ranges in compiler (nfc) 2020-10-28 20:09:20 -07:00
lib.rs datastructures: replace once_cell crate with an impl from std 2020-08-30 20:06:14 +01:00
lint.rs Support ignore for lint examples. 2020-09-13 08:48:03 -07:00
options.rs Implement -Z function-sections=yes|no 2020-10-26 23:26:43 +01:00
output.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
parse.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
search_paths.rs use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
session.rs Remove rustc_session::config::Config 2020-10-15 12:02:24 +02:00
utils.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00