[−][src]Module rustc_passes::check_attr

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

Enums

ItemLike

Functions

check_invalid_crate_level_attr
check_mod_attrs
is_c_like_enum
provide
target_from_impl_item