Auto merge of #5252 - matklad:new-context-new, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 27 Mar 2018 18:14:32 +0000 (18:14 +0000)
committerbors <bors@rust-lang.org>
Tue, 27 Mar 2018 18:14:32 +0000 (18:14 +0000)
Supply units to the context at the point of creation

This slightly reshuffles `Context` creation. The main benefit is that we know the set of units when we do `Context::new`, so we could use it to precalculate more things.


Trivial merge