rust/compiler/rustc_span/src
Matthias Krüger 847c422cea
Rollup merge of #147171 - Qelxiros:hashmap_diag, r=fee1-dead
recommend using a HashMap if a HashSet's second generic parameter doesn't implement BuildHasher

closes rust-lang/rust#147147

~The suggestion span is wrong, but I'm not sure how to find the right one.~ fixed

I'm relatively new to the diagnostics ecosystem, so I'm not sure if `span_help` is the right choice. `span_suggestion_*` might be better, but the output from `x test` looks weird in that case.
2025-11-19 09:48:05 +01:00
..
analyze_source_file Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
edit_distance update cfg(bootstrap) 2025-01-08 21:26:39 +01:00
source_map fix(span): track unnormalized source len for dep-info 2025-11-15 09:05:08 -05:00
symbol Introduce ByteSymbol. 2025-06-30 20:42:27 +10:00
analyze_source_file.rs Add LSX accelerated implementation for source file analysis 2025-09-28 09:35:07 +08:00
caching_source_map_view.rs Simplify span_data_to_lines_and_cols. 2025-08-16 16:23:21 +00:00
def_id.rs Hash less while hashing def-ids. 2025-06-22 20:29:39 +00:00
edit_distance.rs use div_ceil instead of manual logic 2025-07-05 10:55:42 +02:00
edition.rs Unify the format of rustc cli flags 2025-04-24 12:54:40 +08:00
fatal_error.rs Auto merge of #117557 - Zoxc:panic-prio, r=petrochenkov 2023-11-09 00:39:02 +00:00
hygiene.rs Mark range expr with desugaring 2025-10-21 10:04:34 -05:00
lib.rs fix(span): track unnormalized source len for dep-info 2025-11-15 09:05:08 -05:00
profiling.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
source_map.rs fix(span): track unnormalized source len for dep-info 2025-11-15 09:05:08 -05:00
span_encoding.rs Fix doc-comment. 2025-08-10 23:01:45 +00:00
symbol.rs Rollup merge of #147171 - Qelxiros:hashmap_diag, r=fee1-dead 2025-11-19 09:48:05 +01:00
tests.rs fix(span): track unnormalized source len for dep-info 2025-11-15 09:05:08 -05:00