Skip to main content

check_attr_not_crate_level

Function check_attr_not_crate_level 

Source
fn check_attr_not_crate_level(
    cx: &mut AcceptContext<'_, '_>,
    span: Span,
    attr_name: Symbol,
) -> bool
Expand description

Checks that an attribute is not used at the crate level. Returns true if valid.