Enum rustc_lint::builtin::SymbolName [−][src]
Expand description
Differentiate between whether the name for an extern decl came from the link_name attribute or just from declaration itself. This is important because we don’t want to report clashes on symbol name if they don’t actually clash because one or the other links against a symbol with a different name.
Variants
The name of the symbol + the span of the annotation which introduced the link name.
Normal(Symbol)No link name, so just the name of the symbol.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for SymbolNameimpl !Send for SymbolNameimpl !Sync for SymbolNameimpl Unpin for SymbolNameimpl UnwindSafe for SymbolNameBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes