Module rustc_builtin_macros::test
source ยท Expand description
The expansion from a test function to the appropriate test struct for libtest Ideally, this code would be in libtest but for efficiency and error messages it lives here.
Enumsยง
- ShouldPanic ๐
- TestType ๐
Functionsยง
- check_test_signature ๐
- expand_bench ๐
- expand_test ๐
- expand_test_case ๐
- expand_test_or_bench ๐
- get_location_info ๐
- item_path ๐
- not_testable_error ๐
- should_ignore ๐
- should_panic ๐
- test_type ๐Attempts to determine the type of test. Since doctests are created without macro expanding, only possible variants here are
UnitTest
,IntegrationTest
orUnknown
.