Function clippy_utils::is_in_test_function [−][src]
Expand description
Checks if the function containing the given HirId is a #[test] function
Note: If you use this function, please add a #[test] case in tests/ui_test.
