Type Alias rustc_lint::passes::EarlyLintPassObject

source ·
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
Expand description

A lint pass boxed up as a trait object.

Aliased Type§

struct EarlyLintPassObject(Unique<dyn EarlyLintPass>, Global);

Fields§

§0: Unique<dyn EarlyLintPass>§1: Global

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