about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src
AgeCommit message (Expand)AuthorLines
2023-12-12Correctly gate the parsing of match arms without bodyNadrieril-2/+5
2023-12-10Auto merge of #116952 - compiler-errors:lifetime_capture_rules_2024, r=TaKO8Kibors-2/+5
2023-12-10remove redundant importssurechen-4/+2
2023-12-09Rollup merge of #118766 - compiler-errors:lower-spans, r=spastorinoGuillaume Gomez-5/+6
2023-12-09Lower some forgotten coroutine spansMichael Goulet-2/+2
2023-12-09Lower spans for opaque duplicated lifetimes, const infer varsMichael Goulet-3/+3
2023-12-09Lower constness span in host paramMichael Goulet-0/+1
2023-12-08More nitsMichael Goulet-1/+2
2023-12-08Introduce closure_id method on CoroutineKindMichael Goulet-4/+1
2023-12-08Support bare unit structs in destructuring assignmentsMichael Goulet-0/+2
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-52/+192
2023-12-08Add testsMichael Goulet-9/+16
2023-12-08Make some matches exhaustive to avoid bugs, fix toolsMichael Goulet-0/+1
2023-12-08Support async gen fnMichael Goulet-16/+26
2023-12-08coro_kind -> coroutine_kindMichael Goulet-17/+24
2023-12-08Implement `async gen` blocksMichael Goulet-13/+128
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-10/+66
2023-12-06Auto merge of #118605 - fee1-dead-contrib:rm-rustc_host, r=compiler-errorsbors-49/+18
2023-12-05Enable new capture rules by default on edition 2024Michael Goulet-0/+1
2023-12-05Add lifetime_capture_rules_2024Michael Goulet-2/+4
2023-12-05Remove `#[rustc_host]`, use internal desugaringDeadbeef-49/+18
2023-12-04Address code review feedbackEric Holk-10/+10
2023-12-04Fix some broken testsEric Holk-1/+1
2023-12-04Option<CoroutineKind>Eric Holk-43/+23
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-124/+93
2023-12-04Lower return types for gen fn to impl IteratorEric Holk-72/+158
2023-12-03rustc: Harmonize `DefKind` and `DefPathData`Vadim Petrochenkov-25/+17
2023-12-03Disallow arm bodies on never patternsNadrieril-8/+22
2023-12-03Disallow guards on never patternsNadrieril-2/+13
2023-12-03Disallow an arm without a body (except for never patterns)Nadrieril-3/+19
2023-12-03Parse a pattern with no armNadrieril-7/+22
2023-12-02Avoid per-register closure expansionsMark Rousskov-58/+63
2023-12-02Auto merge of #117912 - GeorgeWort:master, r=petrochenkovbors-6/+15
2023-12-02Inline and remove `LoweringContext::handler()`.Nicholas Nethercote-6/+2
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-14/+15
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-0/+1
2023-11-29Auto merge of #118433 - matthiaskrgr:rollup-fi9lrwg, r=matthiaskrgrbors-43/+22
2023-11-29Rollup merge of #118401 - nnethercote:rustc_ast_lowering, r=compiler-errorsMatthias Krüger-83/+95
2023-11-29Rollup merge of #118419 - compiler-errors:await-span2, r=cjgillotMatthias Krüger-19/+20
2023-11-29Rollup merge of #118394 - nnethercote:rm-hir-Ops, r=cjgillotMatthias Krüger-24/+2
2023-11-29Add `never_patterns` feature gateNadrieril-0/+1
2023-11-28Fix spans for bad await in inline constMichael Goulet-17/+18
2023-11-28Eagerly return ExprKind::Err on yield/await in wrong coroutine contextMichael Goulet-3/+3
2023-11-28resolve: Feed the `def_kind` query immediately on `DefId` creationVadim Petrochenkov-14/+34
2023-11-28Name explicit registers in conflict register errors for inline assemblyGeorge Wort-6/+15
2023-11-28Remove unnecessary `Option` from `LoweringContext::allow_{try_trait,gen_futur...Nicholas Nethercote-16/+19
2023-11-28Add `LoweringContext::new`.Nicholas Nethercote-37/+41
2023-11-28Create `LoweringContext::lower_assoc_item`.Nicholas Nethercote-31/+37
2023-11-28Reduce exposure of some things.Nicholas Nethercote-3/+3
2023-11-28Remove unused feature.Nicholas Nethercote-1/+0