about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src
AgeCommit message (Expand)AuthorLines
2022-08-04Improve record_def_id_remap docsSantiago Pastorino-1/+4
2022-08-04Do not collect lifetimes with Infer resolutionSantiago Pastorino-5/+21
2022-08-04Use span_bug instead of panicSantiago Pastorino-4/+8
2022-08-04Add docs to record_elided_anchorSantiago Pastorino-0/+3
2022-08-04Extract record_elided_anchorSantiago Pastorino-18/+13
2022-08-04Move new_remapping inside with_hir_id_ownerSantiago Pastorino-1/+2
2022-08-04Add documentation for create_lifetime_defsSantiago Pastorino-0/+4
2022-08-04Add more debug callsSantiago Pastorino-4/+5
2022-08-04Add documentation about lifetime argsSantiago Pastorino-0/+2
2022-08-04Add documentation about lifetime_defsSantiago Pastorino-0/+3
2022-08-04Move hir_bounds after lifetime_defsSantiago Pastorino-5/+4
2022-08-04captures -> collected_lifetimesSantiago Pastorino-9/+10
2022-08-04Move lifetimes_in_bounds call to outside with_hir_id_owner block in lower_asy...Santiago Pastorino-5/+14
2022-08-04Move lifetimes_in_bounds call to outside with_hir_id_owner block in lower_opa...Santiago Pastorino-18/+23
2022-08-04Document what collected_lifetimes vec containtsSantiago Pastorino-0/+3
2022-08-04Document lower_opaque_impl_traitSantiago Pastorino-0/+29
2022-08-04with_lifetime_binder is now lower_lifetime_binder and doesn't need a closureSantiago Pastorino-55/+52
2022-08-04Add comments on with_remappingSantiago Pastorino-0/+10
2022-08-04Document opt_local_def_idSantiago Pastorino-0/+11
2022-08-04Document generics_def_id_map field and record/get methods on itSantiago Pastorino-0/+4
2022-08-04Add comments about lifetime collect and create lifetime defs for RPITsSantiago Pastorino-0/+8
2022-08-04Avoid explicitly handling res when is not neededSantiago Pastorino-31/+46
2022-08-04create_and_capture_lifetime_defs -> create_lifetime_defsSantiago Pastorino-3/+3
2022-08-04Remove captured_lifetimes and LifetimeCaptureContext and make create_lifetime...Santiago Pastorino-82/+43
2022-08-04Implement def_id based remappingSantiago Pastorino-107/+133
2022-08-04Remove local_def_id from captured_lifetimesSantiago Pastorino-22/+17
2022-08-04Capture things as Lifetime object to simplify thingsSantiago Pastorino-49/+59
2022-08-04Create new_mapping local structure and avoid checking def_ids on capturesSantiago Pastorino-34/+48
2022-08-04Remove binders_to_ignore from LifetimeCaptureContextSantiago Pastorino-16/+3
2022-08-04No need to store parent_def_id in LifetimeCaptureContextSantiago Pastorino-9/+9
2022-08-04No need to check binders to ignore on new_named_lifetime_with_res's LifetimeR...Santiago Pastorino-8/+3
2022-08-04No need to check binders to ignore on new_named_lifetime_with_res's LifetimeR...Santiago Pastorino-8/+3
2022-08-04new_named_lifetime_with_res's LifetimeRes::Fresh should have created def_id a...Santiago Pastorino-11/+2
2022-08-04new_named_lifetime_with_res's LifetimeRes::Param should have created def_id a...Santiago Pastorino-11/+2
2022-08-04Fail if LifetimeRes is Infer when creating def ids for lifetimes copiesSantiago Pastorino-1/+1
2022-08-04Record RPITs elided lifetimes in Rptr TysSantiago Pastorino-0/+12
2022-08-04Record RPITs elided lifetimes in path segmentsSantiago Pastorino-18/+35
2022-08-04Restructure visit_ty in a more clear waySantiago Pastorino-6/+9
2022-08-04Skip lifetimes in binders when visitingSantiago Pastorino-78/+67
2022-08-04Move LifetimeCollectVisitor to rustc_ast_loweringSantiago Pastorino-2/+67
2022-08-04Completely remove captures flagSantiago Pastorino-193/+92
2022-08-04Do not execute captures code when lowering lifetimes as GenericArgSantiago Pastorino-1/+1
2022-08-04Do not execute captures code for async fnsSantiago Pastorino-1/+1
2022-08-04There's no need to check binders_to_ignore using the old code anymoreSantiago Pastorino-10/+8
2022-08-04Explicitly gather lifetimes and definitions for bare async fnsSantiago Pastorino-39/+30
2022-08-04Extract create_and_capture_lifetime_defs functionSantiago Pastorino-74/+81
2022-08-04Remove NEW_COLLECT_LIFETIMES env varSantiago Pastorino-104/+82
2022-08-04Add debug! callsSantiago Pastorino-0/+5
2022-08-04Explicitly gather lifetimes and definitions in RPITSantiago Pastorino-41/+147
2022-08-04Unroll while_capturing_lifetimes into lower_opaque_impl_traitSantiago Pastorino-5/+15