Change preexisting "doc-test" to "doctest"

This commit is contained in:
hyd-dev 2021-05-27 19:48:07 +08:00
parent 43db2aa5a9
commit d1de0843ed
No known key found for this signature in database
GPG key ID: 74FA7FD5B8DA14B8

View file

@ -900,7 +900,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) {
}
if crossmode {
show_error(format!("cross-interpreting doc-tests is not currently supported by Miri."));
show_error(format!("cross-interpreting doctests is not currently supported by Miri."));
}
// Doctests of `proc-macro` crates (and their dependencies) are always built for the host,
@ -910,7 +910,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) {
return;
}
// For each doc-test, rustdoc starts two child processes: first the test is compiled,
// For each doctest, rustdoc starts two child processes: first the test is compiled,
// then the produced executable is invoked. We want to reroute both of these to cargo-miri,
// such that the first time we'll enter phase_cargo_rustc, and phase_cargo_runner second.
//