[−][src]Function syntax::test::generate_test_harness
fn generate_test_harness(
sess: &ParseSess,
resolver: &mut Resolver,
reexport_test_harness_main: Option<Symbol>,
krate: Crate,
sd: &Handler,
features: &Features,
test_runner: Option<Path>
) -> Crate
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Crawl over the crate, inserting test reexports and the test main function