about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/item.rs
AgeCommit message (Expand)AuthorLines
2024-04-24Auto merge of #122500 - petrochenkov:deleg, r=fmeasebors-1/+1
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-1/+1
2024-04-23delegation: Support async, const, extern "ABI" and C-variadic functionsVadim Petrochenkov-1/+1
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-4/+2
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-2/+2
2024-03-22Update (doc) commentsLeón Orell Valerian Liehr-2/+2
2024-03-16Delegation: fix ICE on duplicated associative itemsBryanskiy-8/+6
2024-03-08Simplify ImplTraitContextMichael Goulet-2/+4
2024-03-08Make TAITs capture all higher-ranked lifetimes in scopeMichael Goulet-2/+12
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-9/+10
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-1/+1
2024-02-12Lower anonymous structs or unions to HIRFrank King-1/+4
2024-02-09ast_lowering: Fix regression in `use ::{}` imports.Vadim Petrochenkov-1/+6
2024-02-07No need to take ImplTraitContext by refMichael Goulet-41/+39
2024-02-06Rollup merge of #120609 - petrochenkov:nousestem2, r=compiler-errorsMatthias Krüger-6/+13
2024-02-06Auto merge of #120361 - compiler-errors:async-closures, r=oli-obkbors-7/+6
2024-02-06Make async closures directly lower to ClosureKind::CoroutineClosureMichael Goulet-3/+1
2024-02-06Make sure that async closures (and fns) only capture their parent callable's ...Michael Goulet-4/+5
2024-02-06Auto merge of #120392 - compiler-errors:async-bound-modifier, r=davidtwco,fmeasebors-4/+9
2024-02-03hir: Remove the generic type parameter from `MaybeOwned`Vadim Petrochenkov-5/+2
2024-02-03hir: Stop keeping prefixes for most of `use` list stemsVadim Petrochenkov-6/+13
2024-01-31Add async bound modifier to enable async Fn boundsMichael Goulet-4/+9
2024-01-16Async closures will move params into the future alwaysMichael Goulet-11/+18
2024-01-16Introduce helper that deals with moving async args into the coroutineMichael Goulet-170/+193
2024-01-12Delegation implementation: step 1Bryanskiy-4/+37
2024-01-08Rollup merge of #119705 - fmease:tilde-const-assoc-fns-trait-impls, r=compile...Matthias Krüger-13/+16
2024-01-07Split note, fix const/static impl trait errorMichael Goulet-3/+7
2024-01-07effects: support ~const in assoc fns in trait implsLeón Orell Valerian Liehr-13/+16
2024-01-03Rollup merge of #119505 - fmease:no-host-param-for-trait-fns, r=fee1-deadLeón Orell Valerian Liehr-4/+6
2024-01-02Don't synthesize host effect params for trait assoc fns marked constLeón Orell Valerian Liehr-4/+6
2023-12-28Merge Coroutine lowering functionsArpad Borsos-26/+13
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-1/+6
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-5/+1
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-5/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-6/+6
2023-12-22Auto merge of #119163 - fmease:refactor-ast-trait-bound-modifiers, r=compiler...bors-1/+7
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-1/+7
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-4/+5
2023-12-15Annotate some more bugsMichael Goulet-2/+7
2023-12-09Rollup merge of #118766 - compiler-errors:lower-spans, r=spastorinoGuillaume Gomez-0/+1
2023-12-09Lower constness span in host paramMichael Goulet-0/+1
2023-12-08Introduce closure_id method on CoroutineKindMichael Goulet-4/+1
2023-12-08Make some matches exhaustive to avoid bugs, fix toolsMichael Goulet-0/+1
2023-12-08Support async gen fnMichael Goulet-5/+11
2023-12-08coro_kind -> coroutine_kindMichael Goulet-15/+22
2023-12-06Auto merge of #118605 - fee1-dead-contrib:rm-rustc_host, r=compiler-errorsbors-39/+16
2023-12-05Remove `#[rustc_host]`, use internal desugaringDeadbeef-39/+16
2023-12-04Option<CoroutineKind>Eric Holk-12/+11
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-61/+28
2023-12-04Lower return types for gen fn to impl IteratorEric Holk-46/+100