rust/compiler
Matthias Krüger 15c323fa6d
Rollup merge of #146802 - joshtriplett:mbe-simplifications, r=petrochenkov
mbe: Simplifications and refactoring

A few simplifications and refactors in advance of other work.

Macro metavariable expressions were using `Ident::as_str` and doing string
comparisons; I converted them to use symbols.

I factored out a function for transcribing a `ParseNtResult`, which will help
separate the evaluation and transcription of future macro metavariable
expressions.
2025-09-23 18:13:54 +02:00
..
rustc Make llvm_enzyme a regular cargo feature 2025-09-15 15:31:56 +00:00
rustc_abi Rollup merge of #144066 - RalfJung:extern-c-variadics, r=workingjubilee 2025-09-02 17:08:52 +02:00
rustc_arena Introduce Arena::try_alloc_from_iter. 2025-04-19 01:13:18 +00:00
rustc_ast c-variadic: reject functions with unsupported extern ABI 2025-09-09 21:38:38 +02:00
rustc_ast_ir turn pointer width into an integer in target.json 2025-08-27 23:44:49 +02:00
rustc_ast_lowering Introduce hir::ImplItemImplKind 2025-09-12 15:14:15 -05:00
rustc_ast_passes Rollup merge of #146434 - folkertdev:c-variadic-inherent-methods, r=workingjubilee 2025-09-18 17:20:56 +02:00
rustc_ast_pretty Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_attr_parsing Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_baked_icu_data Use default locale fallback data 2025-08-28 09:48:54 +00:00
rustc_borrowck Rollup merge of #146717 - amandasystems:remove-placeholder-hack, r=lcnr 2025-09-18 17:20:59 +02:00
rustc_builtin_macros Add panic=immediate-abort 2025-09-21 13:12:18 -04:00
rustc_codegen_cranelift Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_codegen_gcc Auto merge of #146317 - saethlin:panic=immediate-abort, r=nnethercote 2025-09-23 06:37:03 +00:00
rustc_codegen_llvm Auto merge of #146317 - saethlin:panic=immediate-abort, r=nnethercote 2025-09-23 06:37:03 +00:00
rustc_codegen_ssa Rollup merge of #146784 - dpaoliello:findmsvc, r=wesleywiser 2025-09-23 18:13:53 +02:00
rustc_const_eval Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_data_structures avoid calling insert_presorted more than once 2025-09-10 08:40:12 +02:00
rustc_driver compiler: Add Windows resources to rustc-main and rustc_driver 2025-09-05 14:06:31 -04:00
rustc_driver_impl fixes for numerous clippy warnings 2025-09-19 20:56:07 +00:00
rustc_error_codes Changes to the uitests 2025-08-27 20:25:18 +02:00
rustc_error_messages Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_errors fix: Filter suggestion parts that match existing code 2025-09-04 17:42:13 -06:00
rustc_expand Rollup merge of #146802 - joshtriplett:mbe-simplifications, r=petrochenkov 2025-09-23 18:13:54 +02:00
rustc_feature initial implementation of the darwin_objc unstable feature 2025-09-13 16:06:22 -07:00
rustc_fluent_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_fs_util Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_graphviz Remove #![warn(unreachable_pub)] from all compiler/ crates. 2025-03-11 13:14:21 +11:00
rustc_hashes Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
rustc_hir Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_hir_analysis Auto merge of #146683 - clarfonthey:safe-intrinsics, r=RalfJung,Amanieu 2025-09-22 14:35:46 +00:00
rustc_hir_id rustc_hir_id: Add a comment explaining why the crate exists 2025-08-20 15:04:00 -07:00
rustc_hir_pretty Rollup merge of #146102 - fmease:rm-dead-eff-code-iii, r=fee1-dead 2025-09-02 17:08:58 +02:00
rustc_hir_typeck Rollup merge of #146775 - hkBst:clippy-fix-11, r=petrochenkov 2025-09-23 18:13:52 +02:00
rustc_incremental Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_index Rollup merge of #144091 - thaliaarchi:stabilize-new-zeroed, r=Mark-Simulacrum 2025-09-21 14:42:33 +10:00
rustc_index_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_infer Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU 2025-09-18 13:49:53 +00:00
rustc_interface Add panic=immediate-abort 2025-09-21 13:12:18 -04:00
rustc_lexer Rollup merge of #146106 - epage:whitespace, r=fee1-dead 2025-09-03 23:08:10 +10:00
rustc_lint Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_lint_defs Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_llvm Rollup merge of #146784 - dpaoliello:findmsvc, r=wesleywiser 2025-09-23 18:13:53 +02:00
rustc_log Update tracing, again 2025-09-08 09:23:37 -07:00
rustc_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_metadata Add panic=immediate-abort 2025-09-21 13:12:18 -04:00
rustc_middle Add panic=immediate-abort 2025-09-21 13:12:18 -04:00
rustc_mir_build Remove Rvalue::Len. 2025-09-16 22:23:19 +00:00
rustc_mir_dataflow Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_mir_transform Auto merge of #146317 - saethlin:panic=immediate-abort, r=nnethercote 2025-09-23 06:37:03 +00:00
rustc_monomorphize Auto merge of #145717 - BoxyUwU:erase_regions_rename, r=lcnr 2025-09-09 15:04:44 +00:00
rustc_next_trait_solver canonical: yeet EvalCtxt, mk Canonicalizer private 2025-09-18 23:56:20 +02:00
rustc_parse Detect top-level ... in argument type 2025-09-16 11:38:08 -07:00
rustc_parse_format Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_passes Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_pattern_analysis Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_privacy Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_proc_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_public Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_public_bridge Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
rustc_query_impl fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_query_system fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_resolve Move more early buffered lints to dyn lint diagnostics (3/N) 2025-09-14 12:38:12 +02:00
rustc_sanitizers Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_serialize Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_session Explain tests and setting cfgs 2025-09-21 13:28:01 -04:00
rustc_span Auto merge of #146317 - saethlin:panic=immediate-abort, r=nnethercote 2025-09-23 06:37:03 +00:00
rustc_symbol_mangling Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_target Auto merge of #146317 - saethlin:panic=immediate-abort, r=nnethercote 2025-09-23 06:37:03 +00:00
rustc_thread_pool Fix a dangling reference in rustc_thread_pool 2025-09-22 14:04:04 -07:00
rustc_trait_selection move mod canonical out of eval_ctxt 2025-09-18 23:56:20 +02:00
rustc_traits erase_regions to erase_and_anonymize_regions 2025-09-09 14:49:16 +02:00
rustc_transmute Driveby fixes 2025-09-09 14:49:16 +02:00
rustc_ty_utils Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_type_ir Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU 2025-09-18 13:49:53 +00:00
rustc_type_ir_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10: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