Module attrs

Source

Structs§

LimitStack

Enums§

DeprecationStatus
Deprecation status of attributes known by Clippy.

Constants§

BUILTIN_ATTRIBUTES

Functions§

get_attr
get_unique_attr
has_non_exhaustive_attr
is_doc_hidden
Returns true if the attributes contain #[doc(hidden)]
is_proc_macro
Returns true if the attributes contain any of proc_macro, proc_macro_derive or proc_macro_attribute, false otherwise
parse_attrs 🔒
span_contains_cfg
Checks if the given span contains a #[cfg(..)] attribute