Document the lib if a lib and bin have the same name
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Mon, 16 Oct 2017 16:30:57 +0000 (12:30 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Wed, 25 Oct 2017 14:25:22 +0000 (10:25 -0400)
commitb60eacc20206d38e03aa348786f6f59c0acb1153
tree16e68784a86971113df48e8d150d9fc466f935c6
parent5b0865ed5dab9ccb3da7eb0614788fc4ffd43a71
Document the lib if a lib and bin have the same name

Fixes #4341.

- Removes the check that bailed if there was a  bin and lib with the
  same name
- Exclude bins with the same name as libs from the proposed targets to
  build when compiling docs
- Adjust tests to expect this behavior
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_doc.rs
tests/doc.rs
tests/rustdoc.rs