rustc_builtin_macros::test_harness

Function mk_tests_slice

source
fn mk_tests_slice(cx: &TestCtxt<'_>, sp: Span) -> P<Expr>
Expand description

Creates a slice containing every test like so: &[&test1, &test2]