rust-lang / rust-lang/rust

[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.

T-rustdoc
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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.