about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/expr.rs
AgeCommit message (Expand)AuthorLines
2024-02-06Teach typeck/borrowck/solvers how to deal with async closuresMichael Goulet-0/+8
2024-02-06Make async closures directly lower to ClosureKind::CoroutineClosureMichael Goulet-20/+7
2024-01-31Add async bound modifier to enable async Fn boundsMichael Goulet-0/+2
2024-01-28hir: Remove unnecessary `HirId` from `hir::Let`Vadim Petrochenkov-1/+0
2024-01-19Pack the u128 in LitKind::IntJosh Stone-2/+8
2024-01-16Async closures will move params into the future alwaysMichael Goulet-24/+15
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-2/+2
2024-01-05Remove `hir::Guard`Matthew Jasper-14/+1
2023-12-30Auto merge of #119284 - Nadrieril:fix-bodiless-arm-parse, r=cjgillotbors-3/+1
2023-12-28Merge Coroutine lowering functionsArpad Borsos-198/+68
2023-12-26Rollup merge of #119240 - compiler-errors:lang-item-more, r=petrochenkovMichael Goulet-6/+4
2023-12-26Don't drop a hir node after loweringNadrieril-3/+1
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-27/+38
2023-12-26Make some non-diagnostic-affecting QPath::LangItem into regular qpathsMichael Goulet-6/+4
2023-12-25Only regular coroutines have movabilityMichael Goulet-8/+20
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-23/+22
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-17/+16
2023-12-22Rollup merge of #119222 - eholk:into-async-iterator, r=compiler-errors,dtolnayMichael Goulet-1/+19
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-12/+23
2023-12-22Use `IntoAsyncIterator` in `for await` loop desugaringEric Holk-1/+19
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-30/+95
2023-12-19Desugar for await loopsEric Holk-28/+92
2023-12-19Plumb awaitness of for loopsEric Holk-4/+5
2023-12-18Ensure `yield` expressions desugar correctly in async generatorsMichael Goulet-20/+32
2023-12-15NFC don't convert types to identical typesMatthias Krüger-3/+1
2023-12-13Rollup merge of #118759 - compiler-errors:bare-unit-structs, r=petrochenkovMatthias Krüger-0/+2
2023-12-12Correctly gate the parsing of match arms without bodyNadrieril-2/+5
2023-12-10remove redundant importssurechen-1/+0
2023-12-09Lower some forgotten coroutine spansMichael Goulet-2/+2
2023-12-08Support bare unit structs in destructuring assignmentsMichael Goulet-0/+2
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-22/+139
2023-12-08Support async gen fnMichael Goulet-7/+9
2023-12-08coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-08Implement `async gen` blocksMichael Goulet-13/+128
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-10/+40
2023-12-04Option<CoroutineKind>Eric Holk-17/+8
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-31/+40
2023-12-03rustc: Harmonize `DefKind` and `DefPathData`Vadim Petrochenkov-3/+2
2023-12-03Disallow arm bodies on never patternsNadrieril-8/+13
2023-12-03Disallow guards on never patternsNadrieril-2/+5
2023-12-03Disallow an arm without a body (except for never patterns)Nadrieril-3/+10
2023-12-03Parse a pattern with no armNadrieril-7/+22
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
2023-11-29Auto merge of #118433 - matthiaskrgr:rollup-fi9lrwg, r=matthiaskrgrbors-36/+13
2023-11-29Rollup merge of #118401 - nnethercote:rustc_ast_lowering, r=compiler-errorsMatthias Krüger-9/+12
2023-11-29Rollup merge of #118419 - compiler-errors:await-span2, r=cjgillotMatthias Krüger-12/+11
2023-11-29Rollup merge of #118394 - nnethercote:rm-hir-Ops, r=cjgillotMatthias Krüger-24/+2
2023-11-28Fix spans for bad await in inline constMichael Goulet-10/+9
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-2/+8