[rustdoc] Add a test for `--emit=dep-info` for both explicit stdout and implict stdout and explicit file cases

Open Beginner friendly
#159,869 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

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.

Description

T-rustdoc

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.

Dominant language
Rust
Stars
119k
Forks
16.2k
Avg merge
2d 11h
Merged PRs (30d)
510

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/rust

All issues in rust-lang/rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.