Auto merge of #5476 - dwijnand:Registry-vs-Source-confusion, r=matklad
authorbors <bors@rust-lang.org>
Fri, 4 May 2018 14:37:41 +0000 (14:37 +0000)
committerbors <bors@rust-lang.org>
Fri, 4 May 2018 14:37:41 +0000 (14:37 +0000)
Try & simplify Registry vs Source confusion

Refs #3006.

I tried to go further and replace references of `Registry` with `PackageRegistry`, but I ran into lifetime issue in `ops::resolve_with_previous` which I think has to do with no longer passing `PackageRegistry` as a `Registry` trait object (with a new and distinct lifetime).


Trivial merge