Function clippy_utils::attrs::span_contains_cfg
source ยท pub fn span_contains_cfg(cx: &LateContext<'_>, s: Span) -> bool
Expand description
Checks if the given span contains a #[cfg(..)]
attribute
pub fn span_contains_cfg(cx: &LateContext<'_>, s: Span) -> bool
Checks if the given span contains a #[cfg(..)]
attribute