rustc_builtin_macros::test

Function test_type

Source
fn test_type(cx: &ExtCtxt<'_>) -> TestType
Expand description

Attempts to determine the type of test. Since doctests are created without macro expanding, only possible variants here are UnitTest, IntegrationTest or Unknown.