rust/compiler
Matthias Krüger 6908bca90f
Rollup merge of #147710 - chenyukang:yukang-fix-ice-contracts-async, r=jackh726
Fix ICE when using contracts on async functions

Fixes rust-lang/rust#145333

contract is not supported for async functions right now, it's not properly lowered and getting HirId will ICE.

This PR adds checking for async function in expanding AST phase, it's better until we want to fully support async for contracts feature.
2025-10-15 23:41:04 +02:00
..
rustc Make llvm_enzyme a regular cargo feature 2025-09-15 15:31:56 +00:00
rustc_abi Rollup merge of #147134 - workingjubilee:remove-explicit-abialign-deref, r=Zalathar 2025-09-29 15:44:55 +10:00
rustc_arena some cleanups in compiler 2025-10-12 08:08:30 +00:00
rustc_ast Rollup merge of #147676 - jdonszelmann:span-is-doc-comment, r=GuillaumeGomez 2025-10-15 23:41:03 +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 Auto merge of #145882 - m-ou-se:format-args-extend-1-arg, r=petrochenkov 2025-09-26 04:34:09 +00:00
rustc_ast_passes Extract common logic for iterating over features 2025-10-02 21:43:14 +00:00
rustc_ast_pretty Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_attr_parsing Rollup merge of #147676 - jdonszelmann:span-is-doc-comment, r=GuillaumeGomez 2025-10-15 23:41:03 +02:00
rustc_baked_icu_data Use default locale fallback data 2025-08-28 09:48:54 +00:00
rustc_borrowck Rollup merge of #147249 - jackh726:opaque-type-fallback, r=lcnr 2025-10-14 16:30:57 +11:00
rustc_builtin_macros Rollup merge of #147710 - chenyukang:yukang-fix-ice-contracts-async, r=jackh726 2025-10-15 23:41:04 +02:00
rustc_codegen_cranelift Auto merge of #143548 - Diggsey:db-limit-extern-crate-usage, r=oli-obk 2025-10-15 13:32:03 +00:00
rustc_codegen_gcc Auto merge of #143548 - Diggsey:db-limit-extern-crate-usage, r=oli-obk 2025-10-15 13:32:03 +00:00
rustc_codegen_llvm Rollup merge of #146949 - pmur:murp/improve-ppc-inline-asm, r=Amanieu 2025-10-15 07:09:54 +02:00
rustc_codegen_ssa Rollup merge of #147677 - jdonszelmann:fewer-span-exceptions, r=WaffleLapkin 2025-10-14 19:47:33 +02:00
rustc_const_eval Auto merge of #145513 - beepster4096:erasedereftemps, r=saethlin,cjgillot 2025-10-12 02:34:20 +00:00
rustc_data_structures Restrict sysroot crate imports to those defined in this repo. 2025-10-15 13:17:25 +01: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 Rollup merge of #146585 - hkBst:indexing-1, r=jdonszelmann 2025-10-02 10:27:49 +02:00
rustc_error_messages Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_errors Rollup merge of #147354 - chenyukang:yukang-fix-147070-wrong-highlight-span, r=estebank 2025-10-07 07:04:17 +02:00
rustc_expand Rollup merge of #147395 - reddevilmidzy:refact-error-msg, r=Kivooeo,jackh726 2025-10-07 07:04:18 +02:00
rustc_feature Extract common logic for iterating over features 2025-10-02 21:43:14 +00:00
rustc_fluent_macro some cleanups in compiler 2025-10-12 08:08:30 +00:00
rustc_fs_util Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_graphviz some cleanups in compiler 2025-10-12 08:08:30 +00:00
rustc_hashes some cleanups in compiler 2025-10-12 08:08:30 +00:00
rustc_hir Rollup merge of #147676 - jdonszelmann:span-is-doc-comment, r=GuillaumeGomez 2025-10-15 23:41:03 +02:00
rustc_hir_analysis cleanup ErrorGuaranteed handling 2025-10-14 11:31:32 +02: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 #147670 - lcnr:no-ok-ret-guar, r=BoxyUwU 2025-10-15 23:41:02 +02:00
rustc_incremental Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_index Add a != check to ChunkedBitSet::union. 2025-10-15 13:49:38 +11:00
rustc_index_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_infer rename select_where_possible and select_all_or_error 2025-10-07 23:02:23 +01:00
rustc_interface Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
rustc_lexer Fix a crash/mislex when more than one frontmatter closing possibility is considered 2025-09-22 15:10:41 -04:00
rustc_lint Rollup merge of #147676 - jdonszelmann:span-is-doc-comment, r=GuillaumeGomez 2025-10-15 23:41:03 +02:00
rustc_lint_defs clarify wording of match ergonomics diagnostics 2025-10-08 02:12:24 -07:00
rustc_llvm Rollup merge of #147608 - Zalathar:debuginfo, r=nnethercote 2025-10-13 11:25:23 +02:00
rustc_log Restrict sysroot crate imports to those defined in this repo. 2025-10-15 13:17:25 +01:00
rustc_macros use declarative macro for #[derive(TryFromU32)] 2025-10-06 14:54:38 +00:00
rustc_metadata Fix review comments 2025-10-10 13:51:52 +00:00
rustc_middle Rollup merge of #147444 - jyn514:fully-qualified-paths, r=nnethercote 2025-10-15 23:41:01 +02:00
rustc_mir_build Auto merge of #142390 - cjgillot:mir-liveness, r=davidtwco 2025-10-12 13:00:04 +00:00
rustc_mir_dataflow Remove StatementKind::Deinit. 2025-10-10 12:57:24 +00:00
rustc_mir_transform Rollup merge of #147607 - dianqk:gvn-deref-loop, r=cjgillot 2025-10-14 16:31:02 +11:00
rustc_monomorphize check normalization overflow in monomorphization 2025-10-12 06:59:10 +08:00
rustc_next_trait_solver Rollup merge of #147266 - lcnr:fix-search_graph, r=BoxyUwU 2025-10-14 16:30:58 +11:00
rustc_parse Auto merge of #147360 - chenyukang:yukang-fix-assoc-eq-missing-term, r=nnethercote 2025-10-06 01:24:16 +00:00
rustc_parse_format Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_passes Rollup merge of #147685 - jdonszelmann:deprecated-no-span, r=JonathanBrouwer 2025-10-15 07:09:56 +02:00
rustc_pattern_analysis Rename various "concrete opaque type" terminology to say "hidden type" 2025-09-27 22:58:02 +01:00
rustc_privacy fix doc comments to be more standard 2025-09-26 09:25:56 +00:00
rustc_proc_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_public Remove StatementKind::Deinit. 2025-10-10 12:57:24 +00: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 return spans out of is_doc_comment to reduce reliance on .span() on attrs 2025-10-14 15:36:09 +02:00
rustc_resolve Rollup merge of #147676 - jdonszelmann:span-is-doc-comment, r=GuillaumeGomez 2025-10-15 23:41:03 +02:00
rustc_sanitizers Split Bound into Canonical and Bound 2025-09-30 12:58:28 -04:00
rustc_serialize Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_session support link modifier as-needed for raw-dylib-elf 2025-10-06 08:56:40 +08:00
rustc_span Allow vector-scalar (vs) registers in ppc inline assembly 2025-10-14 09:52:56 -05:00
rustc_symbol_mangling Auto merge of #147138 - jackh726:split-canonical-bound, r=lcnr 2025-10-02 08:09:33 +00:00
rustc_target Rollup merge of #146949 - pmur:murp/improve-ppc-inline-asm, r=Amanieu 2025-10-15 07:09:54 +02:00
rustc_thread_pool some cleanups in compiler 2025-10-12 08:08:30 +00:00
rustc_trait_selection Auto merge of #147502 - camsteffen:split-overlapping-impls, r=fmease 2025-10-13 09:05:36 +00:00
rustc_traits Auto merge of #146096 - adwinwhite:handle_normalization_overflow_in_mono1, r=saethlin 2025-10-13 00:20:10 +00:00
rustc_transmute prefer to use repeat_n over repeat and take 2025-10-09 01:24:55 +08:00
rustc_ty_utils rename select_where_possible and select_all_or_error 2025-10-07 23:02:23 +01:00
rustc_type_ir Rollup merge of #147266 - lcnr:fix-search_graph, r=BoxyUwU 2025-10-14 16:30:58 +11:00
rustc_type_ir_macros some cleanups in compiler 2025-10-12 08:08:30 +00: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