Expand description
Data structures for representing parsed attributes in the Rust compiler.
Formerly rustc_attr_data_structures.
For detailed documentation about attribute processing, see rustc_attr_parsing.
Re-exports§
- pub use ReprAttr::*;
Modules§
Structs§
Enums§
- AttributeKind 
- Represents parsed built-in inert attributes.
- CfgEntry
- CoverageAttr Kind 
- Successfully-parsed value of a #[coverage(..)]attribute.
- DeprecatedSince 
- Release in which an API is deprecated.
- EncodeCross Crate 
- InlineAttr 
- InstructionSetAttr 
- IntType
- Linkage
- Possible values for the #[linkage]attribute, allowing to specify the linkage type for aMonoItem.
- MacroUseArgs 
- MirDialect
- MirPhase
- NativeLibKind 
- OptimizeAttr 
- PeImportName Type 
- Different ways that the PE Format can decorate a symbol name. From https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#import-name-type
- ReprAttr 
- TransparencyError 
- UsedBy
- There are three valid forms of the attribute:
#[used], which is semantically equivalent to#[used(linker)]except that the latter is currently unstable.#[used(compiler)]#[used(linker)]
Traits§
- PrintAttribute 
- This trait is used to print attributes in rustc_hir_pretty.