Expand description
Contains ParseSess which holds state living beyond what one Parser might.
It also serves as an input to the parser itself.
Re-exportsยง
use std::sync::Arc;๐use rustc_ast::ast;๐use rustc_ast::attr::AttrIdGenerator;๐use rustc_ast::node_id::NodeId;๐use rustc_data_structures::fx::FxHashMap;๐use rustc_data_structures::fx::FxIndexMap;๐use rustc_data_structures::sync::AppendOnlyVec;๐use rustc_data_structures::sync::DynSend;๐use rustc_data_structures::sync::DynSync;๐use rustc_data_structures::sync::Lock;๐use rustc_errors::annotate_snippet_emitter_writer::AnnotateSnippetEmitter;๐use rustc_errors::emitter::EmitterWithNote;๐use rustc_errors::emitter::stderr_destination;๐use rustc_errors::BufferedEarlyLint;๐use rustc_errors::ColorConfig;๐use rustc_errors::DecorateDiagCompat;๐use rustc_errors::Diag;๐use rustc_errors::DiagCtxt;๐use rustc_errors::DiagCtxtHandle;๐use rustc_errors::Level;๐use rustc_errors::MultiSpan;๐use rustc_span::edition::Edition;๐use rustc_span::hygiene::ExpnId;๐use rustc_span::source_map::FilePathMapping;๐use rustc_span::source_map::SourceMap;๐use rustc_span::Span;๐use rustc_span::Symbol;๐use crate::Session;๐use crate::lint::Lint;๐use crate::lint::LintId;๐
Structsยง
- Gated
Spans - Collected spans during parsing for places where a certain feature was
used and should be feature gated accordingly in
check_crateinrustc_ast_passes. - Parse
Sess - Info about a parsing session.
- Symbol
Gallery