Enum rustc_feature::Edition [−][src]
pub(crate) enum Edition {
Edition2015,
Edition2018,
Edition2021,
}Expand description
The edition of the compiler. (See RFC 2052.)
Variants
Edition2015
The 2015 edition
Edition2018
The 2018 edition
Edition2021
The 2021 edition
Auto Trait Implementations
impl RefUnwindSafe for Edition
impl UnwindSafe for Edition
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 1 byte
Size for each variant:
Edition2015: 0 bytesEdition2018: 0 bytesEdition2021: 0 bytes