rustdoc::doctest

Function generate_test_desc_and_fn

Source
fn generate_test_desc_and_fn(
    test: DocTestBuilder,
    scraped_test: ScrapedDocTest,
    opts: GlobalTestOptions,
    rustdoc_options: Arc<Options>,
    unused_externs: Arc<Mutex<Vec<UnusedExterns>>>,
) -> TestDescAndFn