Function rustc_builtin_macros::test::test_type [−][src]
fn test_type(cx: &ExtCtxt<'_>) -> TestType
Attempts to determine the type of test.
Since doctests are created without macro expanding, only possible variants here
are UnitTest, IntegrationTest or Unknown.