rustdoc --test only detects rust vs. markdown based on filename #35065
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: Writing correctness tests.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
If I run
rustdoc --test
on something that doesn't have a file extension, it interprets it as Rust code. This makes it inconvenient to run on something piped in, say via Bash process redirection:There isn't any way to override this, by providing a
--markdown
flag or the like.Also, for this use case, would be nice if you could provide input on stdin instead of via bash process redirection.
The text was updated successfully, but these errors were encountered: