summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/lib.rs
AgeCommit message (Collapse)AuthorLines
2023-01-20Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors-9/+6
Remove some `ref` patterns from the compiler Previous PR: https://github.com/rust-lang/rust/pull/105368 r? `@Nilstrieb`
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-4/+4
2023-01-17`rustc_hir_analysis`: remove `ref` patternsMaybe Waffle-3/+3
2023-01-17`rustc_hir_analysis`: some general code improvementsMaybe Waffle-6/+3
2023-01-11Rollup merge of #106739 - WaffleLapkin:astconv, r=estebankMichael Goulet-3/+2
Remove `<dyn AstConv<'tcx>>::fun(c, ...)` calls in favour of `c.astconv().fun(...)` This removes the need for <>><><><<>> dances and makes the code a bit nicer. Not sure if `astconv` is the best name though, maybe someone has a better idea?
2023-01-11Move autoderef to rustc_hir_analysisMichael Goulet-0/+1
2023-01-11Add `AstConv::astconv` method to remove `<dyn AstConv>::` callsMaybe Waffle-3/+2
2022-11-28Make ObligationCtxt::normalize take cause by borrowMichael Goulet-1/+1
2022-11-06Move fallback_has_occurred to FnCtxtMichael Goulet-2/+2
2022-10-30Rollup merge of #97971 - Soveu:varargs, r=jackh726Michael Howell-13/+33
Enable varargs support for calling conventions other than C or cdecl This patch makes it possible to use varargs for calling conventions, which are either based on C (efiapi) or C is based on them (sysv64 and win64). Also pinging ``@phlopsi,`` because he noticed first this oversight when writing a library for UEFI.
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-1/+1
spastorino noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone.
2022-10-23Cleanup message and bless testsJack Huey-1/+1
2022-10-23Apply suggestions from code review Jack Huey-3/+3
Use ticks around abis. Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
2022-10-23Enable varargs support for calling conventions other than C or cdeclSoveu-13/+33
This patch makes it possible to use varargs for calling conventions, which are either based on C (like efiapi) or C is based on them (for example sysv64 and win64).
2022-10-20rustc_hir_typeck: fix paths and partially mv fileslcnr-5/+4
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-33/+31
2022-10-07Introduce TypeErrCtxtCameron Steffen-4/+4
TypeErrCtxt optionally has a TypeckResults so that InferCtxt doesn't need to.
2022-10-01Change feature name to is_some_andCameron Steffen-1/+1
2022-09-27rustc_typeck to rustc_hir_analysislcnr-0/+555