x test --stage 0 --doc compiler/rustc_lint_defs
fails
#95515
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
I found this originally while testing out #95445, but it's also present on master.
I tried this code:
x test --stage 0 --doc compiler/rustc_lint_defs
I expected to see this happen: Tests pass, like they do for
--stage 1
.Instead, this happened:
It's unclear to me whether this is a bug in bootstrap / rustdoc / rustc_lint_defs, or whether doc-tests for the compiler just don't support --stage 0? If so I could add a warning the same way compiletest warns:
rust/src/bootstrap/test.rs
Lines 1261 to 1269 in 05d2221
cc @Mark-Simulacrum in case you have ideas.
Meta
HEAD is 11909e3.
@rustbot label +A-rustbuild
The text was updated successfully, but these errors were encountered: