Struct rustc_mir_transform::pass_manager::Lint
source · [−]pub struct Lint<T>(pub T);Expand description
An adapter for MirLints that implements MirPass.
Tuple Fields
0: TTrait Implementations
Returns true if this pass is enabled with the current combination of compiler flags.
If this pass causes the MIR to enter a new phase, return that phase.
Auto Trait Implementations
impl<T> RefUnwindSafe for Lint<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Lint<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.