fn run_test(
test: &str,
crate_name: &str,
line: usize,
rustdoc_options: Options,
lang_string: LangString,
no_run: bool,
runtool: Option<String>,
runtool_args: Vec<String>,
target: TargetTriple,
opts: &GlobalTestOptions,
edition: Edition,
outdir: DirState,
path: PathBuf,
test_id: &str,
report_unused_externs: impl Fn(UnusedExterns)
) -> Result<(), TestFailure>