about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/expr.rs
AgeCommit message (Expand)AuthorLines
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-0/+5
2024-04-24Add explicit syntax for coroutines instead of relying on closures having `yie...Oli Scherer-1/+11
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-7/+4
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-5/+6
2024-03-22Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkovMatthias Krüger-2/+5
2024-03-20Rename `hir::Let` into `hir::LetExpr`Guillaume Gomez-1/+1
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-0/+1
2024-03-06Add postfix match MatchSource to HIRRoss Smyth-2/+5
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-1/+1
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+1
2024-03-05Rollup merge of #121664 - compiler-errors:adjust-error-yield-lowering, r=spas...Matthias Krüger-9/+43
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-8/+4
2024-02-27Adjust error yield/await loweringMichael Goulet-9/+43
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-3/+1
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-0/+6
2024-02-15Rollup merge of #121120 - nnethercote:LitKind-Err-guar, r=fmeaseGuillaume Gomez-2/+7
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-2/+7
2024-02-15Reinstate some delayed bugs.Nicholas Nethercote-1/+3
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-3/+1
2024-02-07No need to take ImplTraitContext by refMichael Goulet-9/+9
2024-02-06Auto merge of #120361 - compiler-errors:async-closures, r=oli-obkbors-20/+18
2024-02-06More comments, final tweaksMichael Goulet-0/+3
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