Struct syntax::parse::ParseSess  
                   
                       [−]
                   
               [src]
pub struct ParseSess {
    pub span_diagnostic: Handler,
    pub unstable_features: UnstableFeatures,
    pub config: CrateConfig,
    pub missing_fragment_specifiers: RefCell<HashSet<Span>>,
    pub registered_diagnostics: Lock<ErrorMap>,
    pub non_modrs_mods: RefCell<Vec<(Ident, Span)>>,
    // some fields omitted
}Info about a parsing session.
Fields
span_diagnostic: Handler
                           
                           
                           
                           unstable_features: UnstableFeatures
                           
                           
                           
                           config: CrateConfig
                           
                           
                           
                           missing_fragment_specifiers: RefCell<HashSet<Span>>
                           
                           
                           
                           registered_diagnostics: Lock<ErrorMap>
                           The registered diagnostics codes
non_modrs_mods: RefCell<Vec<(Ident, Span)>>