Previously Cargo accidentally didn't pull in dev-dependencies due to the way `cargo test --doc` was interpreted in terms of top-level targets. This PR special cases this situation by ensuring that the doctest intention makes its way all to the backend and the dependencies can be correctly calculated. Closes rust-lang#3422
bors added a commit that referenced this pull request
Jan 12, 2017Fix cargo test --doc with dev-deps Previously Cargo accidentally didn't pull in dev-dependencies due to the way `cargo test --doc` was interpreted in terms of top-level targets. This PR special cases this situation by ensuring that the doctest intention makes its way all to the backend and the dependencies can be correctly calculated. Closes #3422