@@ -8,7 +8,7 @@ use crate::lint::{
8
8
} ;
9
9
use rustc_ast:: node_id:: NodeId ;
10
10
use 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 } ;
12
12
use rustc_errors:: { emitter:: SilentEmitter , Handler } ;
13
13
use rustc_errors:: {
14
14
fallback_fluent_bundle, Diagnostic , DiagnosticBuilder , DiagnosticId , DiagnosticMessage ,
@@ -204,8 +204,6 @@ pub struct ParseSess {
204
204
pub ambiguous_block_expr_parse : Lock < FxHashMap < Span , Span > > ,
205
205
pub gated_spans : GatedSpans ,
206
206
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 ,
209
207
/// Environment variables accessed during the build and their values when they exist.
210
208
pub env_depinfo : Lock < FxHashSet < ( Symbol , Option < Symbol > ) > > ,
211
209
/// File paths accessed during the build.
@@ -242,7 +240,6 @@ impl ParseSess {
242
240
ambiguous_block_expr_parse : Lock :: new ( FxHashMap :: default ( ) ) ,
243
241
gated_spans : GatedSpans :: default ( ) ,
244
242
symbol_gallery : SymbolGallery :: default ( ) ,
245
- reached_eof : AtomicBool :: new ( false ) ,
246
243
env_depinfo : Default :: default ( ) ,
247
244
file_depinfo : Default :: default ( ) ,
248
245
assume_incomplete_release : false ,
0 commit comments