Enum rustc_ast::util::literal::LitError [−][src]
pub enum LitError {
NotLiteral,
LexerError,
InvalidSuffix,
InvalidIntSuffix,
InvalidFloatSuffix,
NonDecimalFloat(u32),
IntTooLarge,
}
Variants
NonDecimalFloat(u32)
Tuple Fields of NonDecimalFloat
0: u32
Auto Trait Implementations
impl RefUnwindSafe for LitError
impl UnwindSafe for LitError
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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: 8 bytes
Size for each variant:
NotLiteral
: 0 bytesLexerError
: 0 bytesInvalidSuffix
: 0 bytesInvalidIntSuffix
: 0 bytesInvalidFloatSuffix
: 0 bytesNonDecimalFloat
: 4 bytesIntTooLarge
: 0 bytes