Function clippy_utils::is_in_cfg_test
source · Expand description
Checks if the item containing the given HirId
has #[cfg(test)]
attribute applied
Note: Add // compile-flags: --test
to UI tests with a #[cfg(test)]
function
Checks if the item containing the given HirId
has #[cfg(test)]
attribute applied
Note: Add // compile-flags: --test
to UI tests with a #[cfg(test)]
function