test

Function test_main_static

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

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.