UnstableLevelSpec in rustc_middle::lint - Rust
Description: API documentation for the Rust `UnstableLevelSpec` type in crate `rustc_middle`.

Skip to main content

## UnstableLevelSpec

# Type Alias UnstableLevelSpec

Source

    pub type UnstableLevelSpec = LevelSpec<UnstableLintExpectationId>;

## Aliased Type§

    pub struct UnstableLevelSpec {
        level: Level,
        lint_id: Option<UnstableLintExpectationId>,
        pub src: LintLevelSource,
    }

## Fields§

§`level: Level`§`lint_id: Option<UnstableLintExpectationId>`§`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: 28 bytes