Function clippy_utils::is_in_test_function
source · Expand description
Checks if the function containing the given HirId is a #[test] function
Note: Add // compile-flags: --test to UI tests with a #[test] function
Checks if the function containing the given HirId is a #[test] function
Note: Add // compile-flags: --test to UI tests with a #[test] function