Supersedes PR #125780. See also https://rustc-dev-guide.rust-lang.org/rustdoc-internals/rustdoc-html-test-suite.html#limitations.
META: FIXME: Flesh out this issue. This can become a tracking issue.
Re. better XPath support, https://github.com/Paligo/xee or https://github.com/james-lg/skyscraper might be a good option? The former might be excellent but might be too heavyweight, the latter might be too incomplete. Needs investigation.
Supersedes PR #125780. See also https://rustc-dev-guide.rust-lang.org/rustdoc-internals/rustdoc-html-test-suite.html#limitations.
META: FIXME: Flesh out this issue. This can become a tracking issue.
Re. better XPath support, https://github.com/Paligo/xee or https://github.com/james-lg/skyscraper might be a good option? The former might be excellent but might be too heavyweight, the latter might be too incomplete. Needs investigation.