Struct syntax::early_buffered_lints::BufferedEarlyLint[][src]

pub struct BufferedEarlyLint {
    pub span: MultiSpan,
    pub msg: String,
    pub id: NodeId,
    pub lint_id: BufferedEarlyLintId,
}

Stores buffered lint info which can later be passed to librustc.

Fields

The span of code that we are linting on.

The lint message.

The NodeId of the AST node that generated the lint.

A lint Id that can be passed to rustc::lint::Lint::from_parser_lint_id.

Auto Trait Implementations