Function rustc_builtin_macros::test_harness::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]
fn mk_tests_slice(cx: &TestCtxt<'_>, sp: Span) -> P<Expr>
Creates a slice containing every test like so: &[&test1, &test2]