"doc-tests" -> "doctests"

This commit is contained in:
hyd-dev 2021-05-27 18:34:38 +08:00
parent f42a6d1026
commit 773eb1e970
No known key found for this signature in database
GPG Key ID: 74FA7FD5B8DA14B8
2 changed files with 2 additions and 2 deletions

View File

@ -906,7 +906,7 @@ fn phase_rustdoc(fst_arg: &str, mut args: env::Args) {
// Doc-tests of `proc-macro` crates (and their dependencies) are always built for the host,
// so we are not able to run them in Miri.
if ArgFlagValueIter::new("--crate-type").any(|crate_type| crate_type == "proc-macro") {
eprintln!("Running doc-tests of `proc-macro` crates is not currently supported by Miri.");
eprintln!("Running doctests of `proc-macro` crates is not currently supported by Miri.");
return;
}

View File

@ -1 +1 @@
Running doc-tests of `proc-macro` crates is not currently supported by Miri.
Running doctests of `proc-macro` crates is not currently supported by Miri.