Skip to main content

Module check_attr

Module check_attr 

Source
Expand description

This module implements some validity checks for attributes. In particular it verifies that #[inline] and #[repr] attributes are attached to items that actually support them and if there are conflicts between multiple such attributes attached to the same item.

Structsยง

CheckAttrVisitor ๐Ÿ”’
DiagnosticOnConstOnlyForNonConstTraitImpls ๐Ÿ”’
DiagnosticOnConstOnlyForTraitImpls ๐Ÿ”’
DiagnosticOnMoveOnlyForAdt ๐Ÿ”’
DiagnosticOnUnimplementedOnlyForTraits ๐Ÿ”’
DiagnosticOnUnknownOnlyForImports ๐Ÿ”’

Enumsยง

ItemLike ๐Ÿ”’
ProcMacroKind ๐Ÿ”’

Functionsยง

check_mod_attrs ๐Ÿ”’
check_non_exported_macro_for_invalid_attrs ๐Ÿ”’
doc_fake_variadic_is_allowed_self_ty ๐Ÿ”’
is_c_like_enum ๐Ÿ”’
provide ๐Ÿ”’
target_from_impl_item ๐Ÿ”’