Re-exportsยง
pub use ReprAttr::*;
Modulesยง
- attributes ๐
- stability ๐
- version ๐
Macrosยง
- find_
attr - Finds attributes in sequences of attributes by pattern matching.
- print_
debug ๐ - print_
disp ๐ - print_
skip ๐ - print_
tup ๐
Structsยง
- Const
Stability - Represents the
#[rustc_const_unstable]
and#[rustc_const_stable]
attributes. - Default
Body Stability - Represents the
#[rustc_default_body_unstable]
attribute. - Deprecation
- Partial
Const Stability - Excludes
const_stable_indirect
. This is necessary because when-Zforce-unstable-if-unmarked
is set, we need to encode standalone#[rustc_const_stable_indirect]
attributes - Rustc
Version - Stability
- Represents the following attributes:
Enumsยง
- Attribute
Kind - Represent parsed, built in, inert attributes.
- Deprecated
Since - Release in which an API is deprecated.
- Diagnostic
Attribute - Inline
Attr - Instruction
SetAttr - IntType
- Optimize
Attr - Repr
Attr - Stability
Level - The available stability levels.
- Stable
Since - Rust release in which a feature is stabilized.
- Transparency
Error - Unstable
Reason
Constantsยง
- VERSION_
PLACEHOLDER - The version placeholder that recently stabilized features contain inside the
since
field of the#[stable]
attribute.
Traitsยง
- Hash
Stable Context - Requirements for a
StableHashingContext
to be used in this crate. This is a hack to allow using theHashStable_Generic
derive macro instead of implementing everything inrustc_middle
. - Print
Attribute - This trait is used to print attributes in
rustc_hir_pretty
.