]> git.lizzy.rs Git - rust.git/commit
Auto merge of #33532 - jseyfried:mutable_lowering_context, r=nrc
authorbors <bors@rust-lang.org>
Sat, 14 May 2016 01:40:08 +0000 (18:40 -0700)
committerbors <bors@rust-lang.org>
Sat, 14 May 2016 01:40:08 +0000 (18:40 -0700)
commitdee865a56db3833e74801b71acf26264817c1637
tree0875ae608dbed98f5da05cce18e5b68dc97e2ad1
parent2b79e05a05f7259891adc4d7b0487d44121eb0c1
parent33978b0728640f3345479bd3fc0055a36507cf32
Auto merge of #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? @nrc
src/librustc_driver/driver.rs
src/librustc_metadata/astencode.rs
src/librustdoc/test.rs