[][src]Function test::test_main_static

pub fn test_main_static(tests: &[&TestDescAndFn])
🔬 This is a nightly-only experimental API. (test)

A variant optimized for invocation with a static test vector. This will panic (intentionally) when fed any dynamic tests.

This is the entry point for the main function generated by rustc --test when panic=unwind.