Struct rustc::lint::EarlyContext [] [src]

pub struct EarlyContext<'a> {
    pub sess: &'a Session,
    pub krate: &'a Crate,
    // some fields omitted
}
🔬 This is a nightly-only experimental API.   (rustc_private)

Context for lint checking of the AST, after expansion, before lowering to HIR.

Fields

🔬 This is a nightly-only experimental API.   (rustc_private)

Type context we're checking in.

🔬 This is a nightly-only experimental API.   (rustc_private)

The crate being checked.

Trait Implementations

impl<'a> LintContext<'a> for EarlyContext<'a>
[src]

🔬 This is a nightly-only experimental API.   (rustc_private)

Get the overall compiler Session object.

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

Get the level of lint at the current position of the lint traversal. Read more

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

Emit a lint at the appropriate level, for a particular span.

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

Emit a lint and note at the appropriate level, for a particular span.

🔬 This is a nightly-only experimental API.   (rustc_private)

Emit a lint and help at the appropriate level, for a particular span.

🔬 This is a nightly-only experimental API.   (rustc_private)

Emit a lint at the appropriate level, with no associated span.

🔬 This is a nightly-only experimental API.   (rustc_private)

Merge the lints specified by any lint attributes into the current lint context, call the provided function, then reset the lints in effect to their previous state. Read more

impl<'a> Visitor<'a> for EarlyContext<'a>
[src]

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)

🔬 This is a nightly-only experimental API.   (rustc_private)