@@ -8,7 +8,7 @@ use crate::lint::{
88} ;
99use rustc_ast:: node_id:: NodeId ;
1010use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexSet } ;
11- use rustc_data_structures:: sync:: { AppendOnlyVec , AtomicBool , Lock , Lrc } ;
11+ use rustc_data_structures:: sync:: { AppendOnlyVec , Lock , Lrc } ;
1212use rustc_errors:: { emitter:: SilentEmitter , Handler } ;
1313use rustc_errors:: {
1414 fallback_fluent_bundle, Diagnostic , DiagnosticBuilder , DiagnosticId , DiagnosticMessage ,
@@ -204,8 +204,6 @@ pub struct ParseSess {
204204 pub ambiguous_block_expr_parse : Lock < FxHashMap < Span , Span > > ,
205205 pub gated_spans : GatedSpans ,
206206 pub symbol_gallery : SymbolGallery ,
207- /// The parser has reached `Eof` due to an unclosed brace. Used to silence unnecessary errors.
208- pub reached_eof : AtomicBool ,
209207 /// Environment variables accessed during the build and their values when they exist.
210208 pub env_depinfo : Lock < FxHashSet < ( Symbol , Option < Symbol > ) > > ,
211209 /// File paths accessed during the build.
@@ -242,7 +240,6 @@ impl ParseSess {
242240 ambiguous_block_expr_parse : Lock :: new ( FxHashMap :: default ( ) ) ,
243241 gated_spans : GatedSpans :: default ( ) ,
244242 symbol_gallery : SymbolGallery :: default ( ) ,
245- reached_eof : AtomicBool :: new ( false ) ,
246243 env_depinfo : Default :: default ( ) ,
247244 file_depinfo : Default :: default ( ) ,
248245 assume_incomplete_release : false ,
0 commit comments