Auto merge of #124611 - Urgau:rustdoc-stdin, r=GuillaumeGomez

Add `-` (stdin) support in rustdoc

This PR adds support for the special `-` input which threats the input as coming from *stdin* instead of being a filepath.

Doing this also makes `rustdoc` consistent with `rustc` and ~~every~~ other tools. Full [motivation](https://github.com/rust-lang/rust/pull/124611#issuecomment-2094234876).

Fixes https://github.com/rust-lang/rust/issues/123671
r? `@fmease`
This commit is contained in:
bors 2024-05-18 10:53:47 +00:00
commit 694417aaa6

Diff content is not available