[−][src]Function syntax::test::mk_main
fn mk_main(cx: &mut TestCtxt) -> P<Item>
🔬 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?
Creates a function item for use as the main function of a test build.
This function will call the test_runner
as specified by the crate attribute