Function datatest::test_type

source ·
pub fn test_type(path: &'static str) -> TestType
Expand description

Helper function used internally, to mirror how rustc_test chooses a TestType. Must be called with the result of file!() (called in macro output) to be meaningful.