Commit 8f547f0
committed
Rollup merge of rust-lang#33532 - jseyfried:mutable_lowering_context, r=nrc
Clean up `hir::lowering`
Clean up `hir::lowering`:
- give lowering functions mutable access to the lowering context
- refactor the `lower_*` functions and other functions that take a lowering context into methods
- simplify the API that `hir::lowering` exposes to `driver`
- other miscellaneous cleanups
r? @nrcFile tree
4 files changed
+1647
-1702
lines changed- src
- librustc_driver
- librustc_metadata
- librustc/hir
- librustdoc
4 files changed
+1647
-1702
lines changed
0 commit comments