Auto merge of #5572 - kngwyu:for-racer, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 27 May 2018 19:55:37 +0000 (19:55 +0000)
committerbors <bors@rust-lang.org>
Sun, 27 May 2018 19:55:37 +0000 (19:55 +0000)
commit1bdedc73eeb26948dc1aa8c0a600fb8fb525b13b
tree66c8844d1215672fd65abe5dc866323f0c5e9c7e
parent9c78c3a17ac4bc0c8b3b837095f60aa84d09c426
parent101f2b00b2a49a16adf2ac8601498b4d75a4b4b6
Auto merge of #5572 - kngwyu:for-racer, r=alexcrichton

Make add_overrides and get_resolved_packages pub

For https://github.com/racer-rust/racer/pull/855.
Now  we're planning to use cargo to resolve dependencies, but for RLS we can't write `Cargo.lock`.
So we have to call `resolve_with_previous` directly, and want to use these functions.