Auto merge of #5487 - matklad:mixed-deps, r=alexcrhiton
authorbors <bors@rust-lang.org>
Sat, 5 May 2018 17:19:01 +0000 (17:19 +0000)
committerbors <bors@rust-lang.org>
Sat, 5 May 2018 17:19:01 +0000 (17:19 +0000)
FIx false positive warning

We warn if a feature was specified corresponding to a dependency which
is not optional. However, a dependency can be both optional and
required, and we shouldn't warn in that case.

cc https://github.com/rust-lang/cargo/pull/5480

r? @alexcrichton


Trivial merge