]> git.proxmox.com Git - cargo.git/commit
FIx false positive warning
authorAleksey Kladov <aleksey.kladov@gmail.com>
Sat, 5 May 2018 16:04:54 +0000 (19:04 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Sat, 5 May 2018 17:18:37 +0000 (20:18 +0300)
commit739cc2078d98d6e8bca817ea611df29cef60f474
tree3ff0b1e5835df1f6d6eff1b48b91511ff4c6d442
parent5986492773e6de61cced57f457da3700607f4a3a
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.
src/cargo/core/resolver/context.rs
tests/testsuite/build_script.rs