Type Alias rustc_middle::lint::LevelAndSource

source ·
pub type LevelAndSource = (Level, LintLevelSource);
Expand description

A tuple of a lint level and its source.

Trait Implementations§

source§

impl<'tcx, A: Lift<'tcx>, B: Lift<'tcx>> Lift<'tcx> for (A, B)

§

type Lifted = (<A as Lift<'tcx>>::Lifted, <B as Lift<'tcx>>::Lifted)

source§

fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>

source§

impl<A: ParameterizedOverTcx, B: ParameterizedOverTcx> ParameterizedOverTcx for (A, B)

§

type Value<'tcx> = (<A as ParameterizedOverTcx>::Value<'tcx>, <B as ParameterizedOverTcx>::Value<'tcx>)

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