rust/compiler
bors 39219ceb97 Auto merge of #152318 - nnethercote:streamline-HashStableContext, r=cjgillot
Streamline `rustc_span::HashStableContext`.

Currently this trait has five methods. But it only really needs three.

For example, currently stable hashing of spans is implemented in `rustc_span`, except a couple of sub-operations are delegated to `rustc_query_system`: `def_span` and `span_data_to_lines_and_cols`. These two delegated sub-operations can be reduced to a single delegated operation that does the full hash computation.

Likewise, `assert_default_hashing_controls` depends on two delegated sub-operations, `hashing_controls` and
`unstable_opts_incremental_ignore_spans`, and can be simplified.

I find the resulting code simpler and clearer -- when necessary, we do a whole operation in `rustc_query_system` instead of doing it partly in `rustc_span` and partly in `rustc_query_system`.

r? @cjgillot
2026-02-09 02:31:13 +00:00
..
rustc Return ExitCode from rustc_driver::main 2026-01-23 21:04:27 +00:00
rustc_abi extract TyAndLayout::peel_transparent_wrappers helper 2026-02-06 01:04:02 +01:00
rustc_arena Replace some feature(core_intrinsics) with stable hints 2026-02-08 18:21:47 +11:00
rustc_ast Use .map.collect to aggregate in .to_ty of tuples 2026-02-07 16:49:06 +09:00
rustc_ast_ir Implement &pin patterns and ref pin bindings 2025-11-10 09:57:08 +08:00
rustc_ast_lowering Port rustc_intrinsic to the new attribute parser 2026-02-07 14:12:56 +01:00
rustc_ast_passes Fix suggestion on AutoTraitItems diagnostic 2026-02-08 10:24:13 +01:00
rustc_ast_pretty Fix missing syntax context in lifetime hygiene debug output 2026-01-29 12:07:01 +00:00
rustc_attr_parsing Parse #[rustc_outlives] 2026-02-08 11:41:36 +00:00
rustc_baked_icu_data Unify the configuration of the compiler docs 2025-11-05 11:25:27 +00:00
rustc_borrowck Rollup merge of #152037 - eggyal:unused-mut-due-to-borrowck-error, r=jackh726 2026-02-08 16:58:24 +11:00
rustc_builtin_macros Rollup merge of #152289 - Urgau:expect-in-derive-150553, r=jdonszelmann 2026-02-07 16:04:41 +01:00
rustc_codegen_cranelift Convert to inline diagnostics in all codegen backends 2026-02-04 13:12:49 +00:00
rustc_codegen_gcc Convert to inline diagnostics in all codegen backends 2026-02-04 13:12:49 +00:00
rustc_codegen_llvm Rollup merge of #151640 - ZuseZ4:cleanup-datatransfer, r=nnethercote 2026-02-08 19:15:26 +01:00
rustc_codegen_ssa Rollup merge of #152067 - Zoxc:graph-weak-assert, r=jackh726 2026-02-08 16:58:25 +11:00
rustc_const_eval Fix existing messages in the diag structs 2026-02-07 09:11:34 +01:00
rustc_data_structures Replace some feature(core_intrinsics) with stable hints 2026-02-08 18:21:47 +11:00
rustc_driver Unify the configuration of the compiler docs 2025-11-05 11:25:27 +00:00
rustc_driver_impl Rollup merge of #152250 - JonathanBrouwer:convert_finish, r=jdonszelmann 2026-02-08 19:15:25 +01:00
rustc_error_codes Fix tidy formatting manually for E0423.md 2026-01-31 10:46:58 +05:30
rustc_error_messages Remove DiagMessage::FluentIdentifier 2026-02-08 10:33:29 +01:00
rustc_errors Remove fluent tests in rustc_error 2026-02-08 11:06:42 +01:00
rustc_expand Rollup merge of #151887 - scottmcm:homogeneous-try-in-compiler, r=jackh726 2026-02-08 16:58:23 +11:00
rustc_feature Rollup merge of #149960 - folkertdev:cfg-select-unreachable-lint, r=JonathanBrouwer 2026-02-07 16:04:40 +01:00
rustc_fs_util Avoid using env::temp when linking a binary 2025-12-24 06:41:42 +00:00
rustc_graphviz change non-canonical clone impl to {*self}, fix some doc comments 2025-12-20 13:46:22 +00:00
rustc_hashes some cleanups in compiler 2025-10-12 08:08:30 +00:00
rustc_hir Parse #[rustc_outlives] 2026-02-08 11:41:36 +00:00
rustc_hir_analysis Rollup merge of #152309 - rynewang:fix/ice-152158-rtn-trait-alias, r=fmease 2026-02-08 19:15:27 +01:00
rustc_hir_id
rustc_hir_pretty mGCA: Support directly represented negated literals 2026-02-06 14:04:55 +01:00
rustc_hir_typeck Parse #[rustc_evaluate_where_clauses] 2026-02-08 11:41:10 +00:00
rustc_incremental Fix existing messages in the diag structs 2026-02-07 09:11:34 +01:00
rustc_index simplify words initialization using Rc::new_zeroed 2026-01-16 04:25:12 +05:30
rustc_index_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_infer Convert to inline diagnostics in rustc_infer 2026-02-03 15:14:49 +01:00
rustc_interface Rollup merge of #152212 - Ozzy1423:three-attrs, r=JonathanBrouwer 2026-02-08 19:15:27 +01:00
rustc_lexer Remove rustc_lexer::cursor module. 2026-01-27 12:06:55 +11:00
rustc_lint Rollup merge of #151887 - scottmcm:homogeneous-try-in-compiler, r=jackh726 2026-02-08 16:58:23 +11:00
rustc_lint_defs make the lint more sophisticated 2026-02-07 02:19:43 +01:00
rustc_llvm Rollup merge of #150780 - fzakaria:fzakaria/section-threshold, r=jackh726 2026-01-23 11:07:55 +01:00
rustc_log Restrict sysroot crate imports to those defined in this repo. 2025-10-15 13:17:25 +01:00
rustc_macros Remove slugs from the #[derive(Diagnostic)] macro 2026-02-08 11:03:56 +01:00
rustc_metadata Rollup merge of #152139 - khyperia:mgca-negative-literals, r=BoxyUwU 2026-02-06 18:04:40 +01:00
rustc_middle Auto merge of #152160 - nnethercote:start-cutting-down-rustc_query_system, r=Zalathar 2026-02-08 11:41:28 +00:00
rustc_mir_build Rollup merge of #152328 - JonathanBrouwer:fix_diags, r=JonathanBrouwer 2026-02-08 19:15:26 +01:00
rustc_mir_dataflow Convert to inline diagnostics in rustc_mir_dataflow 2026-02-03 23:25:59 +01:00
rustc_mir_transform Auto merge of #150485 - dianqk:gvn-ssa-borrow, r=cjgillot 2026-02-08 05:03:48 +00:00
rustc_monomorphize Auto merge of #152096 - bjorn3:mir_encoding_cleanups, r=oli-obk 2026-02-05 15:30:48 +00:00
rustc_next_trait_solver Part 2 refactoring of moving placeholder types to rustc_type_ir 2026-01-29 11:11:40 +00:00
rustc_parse Rollup merge of #152341 - folkertdev:cfg-select-optional-comma, r=JonathanBrouwer 2026-02-08 19:15:28 +01:00
rustc_parse_format Rollup merge of #151013 - ehuss:fmt-clarification, r=joboet 2026-01-28 19:03:51 +11:00
rustc_passes Parse #[rustc_outlives] 2026-02-08 11:41:36 +00:00
rustc_pattern_analysis Convert to inline diagnostics in rustc_pattern_analysis 2026-02-05 12:13:25 +01:00
rustc_privacy Rollup merge of #151887 - scottmcm:homogeneous-try-in-compiler, r=jackh726 2026-02-08 16:58:23 +11:00
rustc_proc_macro Update literal-escaper version to 0.0.7 2026-01-08 14:10:33 +01:00
rustc_public Rollup merge of #150271 - Jamesbarford:chore/refactor-struct-placeholder-pt2, r=lcnr 2026-01-29 17:47:29 +01:00
rustc_public_bridge Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
rustc_query_impl Remove now-unnecessary indirection. 2026-02-08 17:01:26 +11:00
rustc_query_system Auto merge of #152318 - nnethercote:streamline-HashStableContext, r=cjgillot 2026-02-09 02:31:13 +00:00
rustc_resolve Remove Resolver::create_stable_hashing_context. 2026-02-06 09:18:18 +11:00
rustc_sanitizers Include assoc const projections in CFI trait object 2026-02-01 22:45:43 +08:00
rustc_serialize Allow internal_features lint in doc tests 2025-11-05 11:25:29 +00:00
rustc_session Remove the fallback bundle 2026-02-08 11:06:42 +01:00
rustc_span Auto merge of #152318 - nnethercote:streamline-HashStableContext, r=cjgillot 2026-02-09 02:31:13 +00:00
rustc_symbol_mangling Port #[rustc_symbol_name] and #[rustc_def_path] to attr parser 2026-02-07 01:43:00 +01:00
rustc_target Require sram target feature on AVR 2026-02-06 09:29:24 +09:00
rustc_thread_pool change non-canonical clone impl to {*self}, fix some doc comments 2025-12-20 13:46:22 +00:00
rustc_trait_selection Rollup merge of #152339 - JonatanLindh:fix-issue-152331, r=Urgau 2026-02-08 19:15:27 +01:00
rustc_traits implied bounds comments 2026-01-19 16:08:54 +00:00
rustc_transmute Clean up src/dst transmute mess. 2026-01-12 09:22:58 +11:00
rustc_ty_utils Convert to inline diagnostics in rustc_ty_utils 2026-02-03 21:32:03 +01:00
rustc_type_ir Part 2 refactoring of moving placeholder types to rustc_type_ir 2026-01-29 11:11:40 +00:00
rustc_type_ir_macros Provide an extended framework for type visit, for use in rust-analyzer 2025-12-16 01:47:28 +02:00
rustc_windows_rc [win] Use find-msvc-tools instead of cc to find the linker and rc on Windows 2025-09-19 12:00:30 -07:00