Skip to main content

rust_attribute_requires_test

Function rust_attribute_requires_test 

Source
pub fn rust_attribute_requires_test(source: &str, attribute: Node<'_>) -> bool
Expand description

Whether attribute is #[cfg(...)] with a predicate requiring test.