Function rustdoc::doctest::run_test [−][src]
fn run_test(
test: &str,
crate_name: &str,
line: usize,
options: Options,
should_panic: bool,
no_run: bool,
as_test_harness: bool,
runtool: Option<String>,
runtool_args: Vec<String>,
target: TargetTriple,
compile_fail: bool,
error_codes: Vec<String>,
opts: &TestOptions,
edition: Edition,
outdir: DirState,
path: PathBuf,
test_id: &str,
report_unused_externs: impl Fn(UnusedExterns)
) -> Result<(), TestFailure>