rust/compiler/rustc_span/src
Stuart Cook e4cd17cd44
Rollup merge of #148641 - oli-obk:push-olzwqxsmnxmz, r=jackh726
Add a diagnostic attribute for special casing const bound errors for non-const impls

Somewhat of a follow-up to https://github.com/rust-lang/rust/pull/144194

My plan is to resolve

f4e19c6878/compiler/rustc_hir_typeck/src/callee.rs (L907-913)

but doing so without being able to mark impls the way I do in this PR wrould cause all nice diagnostics about for loops and pointer comparisons to just be a `*const u32 does not implement [const] PartialEq` errors.
2025-11-27 12:36:48 +11: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 #148641 - oli-obk:push-olzwqxsmnxmz, r=jackh726 2025-11-27 12:36:48 +11:00
tests.rs fix(span): track unnormalized source len for dep-info 2025-11-15 09:05:08 -05:00