[rustdoc] Add a test for `--emit=dep-info` for both explicit stdout and implict stdout and explicit file cases
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Quoting https://github.com/rust-lang/rust/pull/159411#issuecomment-5072878151:
Previously, the coverage always went to stdout, so there was no meaningful deps-file to generate. Now that there’s a coverage output, it should depend on all the sources rustdoc read.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced rust-lang/rust#159411 discussion and locate the existing rustdoc tests for --emit=dep-info. Add coverage for explicit stdout, implicit stdout, and an explicit output file, verifying that the generated dependency information includes the sources rustdoc read. Done means all three cases are covered and the tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, compilers, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100