Multiple uses of --emit=dep-info
do different things in rustc and rustdoc
#141664
Labels
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
#![doc=include_str!("hi.txt")]
And built it with
--emit=dep-info
passed twice as a CLI arg.I expected to see this happen:
rustc
andrustdoc
agree how to handle--emit=dep-info=<path>
multiple times.Instead, this happened:
rustc
picks the 2nd one, butrustdoc
picks the first one.Meta
The text was updated successfully, but these errors were encountered: