Deduplicate doc tests logic #86254
Labels
A-doctests
Area: Documentation tests, run by rustdoc
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
This comes from a discussion in #86230: for the moment, we call
libtest
from two places:markdown.rs
(which is used when we provide a markdown file as input) anddoctest.rs
(when a rust file is provided as input, the default).Both calls can be found when grepping with
testing::test_main(
.The text was updated successfully, but these errors were encountered: