summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/item.rs
AgeCommit message (Expand)AuthorLines
2022-09-14Pass ImplTraitContext as &, there's no need for that to be &mutSantiago Pastorino-48/+35
2022-09-09Address rebase issues, make async fn in trait workMichael Goulet-2/+8
2022-09-09Make async fn in traits workMichael Goulet-4/+10
2022-09-08Rollup merge of #101499 - spastorino:add-lowering-arena, r=oli-obkMichael Goulet-1/+3
2022-09-08Introduce lowering_arena to avoid creating AST nodes on the flySantiago Pastorino-1/+3
2022-09-06Pass ImplTraitContext as &mut to avoid the need of ImplTraitContext::reborrow...Santiago Pastorino-43/+56
2022-09-06Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillotbors-7/+4
2022-09-06Rollup merge of #101447 - cjgillot:no-remap-resolver, r=spastorinoYuki Okushi-0/+1
2022-09-05Auto merge of #101228 - nnethercote:simplify-hir-PathSegment, r=petrochenkovbors-2/+6
2022-09-05Remove generics_def_id_map from the resolver.Camille GILLOT-0/+1
2022-09-05Address review comments.Nicholas Nethercote-1/+1
2022-09-05Make `hir::PathSegment::hir_id` non-optional.Nicholas Nethercote-1/+2
2022-09-05Make `hir::PathSegment::res` non-optional.Nicholas Nethercote-2/+5
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-7/+4
2022-08-29Use `&'hir Mod` everywhere.Nicholas Nethercote-4/+8
2022-08-29Use `&'hir Expr` everywhere.Nicholas Nethercote-1/+5
2022-08-22Migrate all span_err(...) in ast_lowering to SessionDiagnosticJean CASPAR-6/+2
2022-08-22Migrate ast_lowering::lib and ast_lowering::item to SessionDiagnosticJean CASPAR-5/+6
2022-08-16Remove `{ast,hir}::WhereEqPredicate::id`.Nicholas Nethercote-2/+1
2022-08-04Avoid explicitly handling res when is not neededSantiago Pastorino-4/+1
2022-08-04Remove captured_lifetimes and LifetimeCaptureContext and make create_lifetime...Santiago Pastorino-1/+0
2022-08-04Completely remove captures flagSantiago Pastorino-49/+20
2022-08-04Add captures flag to capture or not while loweringSantiago Pastorino-20/+49
2022-08-04Make lower_generic_bound_predicate receive AST bounds instead of HIR boundsSantiago Pastorino-3/+7
2022-08-01Store associated item defaultness in impl_defaultness.Camille GILLOT-19/+18
2022-07-07Auto merge of #95573 - cjgillot:lower-query, r=michaelwoeristerbors-23/+7
2022-07-06Use DefIdTree instead of re-implementing it.Camille GILLOT-7/+2
2022-07-06Remove `sess` field from LoweringContext.Camille GILLOT-2/+1
2022-07-06Make AST lowering a query.Camille GILLOT-17/+7
2022-07-02ast: Add span to `Extern`Nixon Enraght-Moony-2/+2
2022-06-19Leave the responsibility to create `Fresh` lifetimes to lowering.Camille GILLOT-4/+7
2022-06-15Consume resolutions for lowering separately.Camille GILLOT-5/+4
2022-06-14Do not modify the resolver outputs.Camille GILLOT-17/+19
2022-06-14Make ResolverAstLowering a struct.Camille GILLOT-3/+11
2022-06-11Address commentsMichael Goulet-2/+0
2022-06-11Handle empty where-clause betterMichael Goulet-2/+4
2022-06-07Instrument important fns in AST loweringSantiago Pastorino-3/+4
2022-06-04Auto merge of #97717 - matthiaskrgr:rollup-lalaii2, r=matthiaskrgrbors-4/+4
2022-06-03Remove useless LocalDefId in ImplTraitContext::Universal.Camille GILLOT-4/+4
2022-06-02Make params be SmallVec as originally wasSantiago Pastorino-1/+2
2022-06-01Always assert that impl_trait_def|bounds are empty at startSantiago Pastorino-7/+2
2022-06-01Split extend + inner chain into to extend callsSantiago Pastorino-8/+5
2022-05-31Fix lower_generics rustdocsSantiago Pastorino-3/+2
2022-05-31Inline lower_generics_mut and remove GenericsCtorSantiago Pastorino-54/+29
2022-05-31Remove ImplTraitContext::reborrowSantiago Pastorino-2/+2
2022-05-31Move lower_generics definition to item.rsSantiago Pastorino-0/+38
2022-05-31Rename add_implicit_generics to lower_genericsSantiago Pastorino-17/+16
2022-05-31Replace calls to lower_generics with calls to add_implicit_genericsSantiago Pastorino-89/+87
2022-05-31Add itctx: ImplTraitContext arg to add_implicit_genericsSantiago Pastorino-7/+12
2022-05-31Move defs and bounds from Universal to LoweringContextSantiago Pastorino-16/+12