Skip to main content

StableLevelSpec

Type Alias StableLevelSpec 

Source
pub type StableLevelSpec = LevelSpec<StableLintExpectationId>;

Aliased Type§

pub struct StableLevelSpec {
    level: Level,
    lint_id: Option<StableLintExpectationId>,
    pub src: LintLevelSource,
}

Fields§

§level: Level§lint_id: Option<StableLintExpectationId>§src: LintLevelSource

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: 32 bytes