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
span: MultiSpan
The span of code that we are linting on.
msg: String
The lint message.
id: NodeId
The NodeId
of the AST node that generated the lint.
lint_id: BufferedEarlyLintId
A lint Id that can be passed to rustc::lint::Lint::from_parser_lint_id
.
Auto Trait Implementations
impl !Send for BufferedEarlyLint
impl !Send for BufferedEarlyLint
impl !Sync for BufferedEarlyLint
impl !Sync for BufferedEarlyLint