diff options
| author | yukang <moorekang@gmail.com> | 2023-03-14 23:31:54 +0800 |
|---|---|---|
| committer | yukang <moorekang@gmail.com> | 2023-05-01 16:15:16 +0800 |
| commit | f65b875e830b00ccf4d37461890c2afaccc92067 (patch) | |
| tree | 79cf646032e7708ac7460c8bdfa8bf27fb722525 /compiler/rustc_session | |
| parent | 9569a0129c5e484a12696e938d2c228152f54d50 (diff) | |
| download | rust-f65b875e830b00ccf4d37461890c2afaccc92067.tar.gz rust-f65b875e830b00ccf4d37461890c2afaccc92067.zip | |
remove type_ascription_path_suggestions in parser
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/parse.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index 15e27952cf5..5cc9c62617d 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -214,8 +214,6 @@ pub struct ParseSess { pub env_depinfo: Lock<FxHashSet<(Symbol, Option<Symbol>)>>, /// File paths accessed during the build. pub file_depinfo: Lock<FxHashSet<Symbol>>, - /// All the type ascriptions expressions that have had a suggestion for likely path typo. - pub type_ascription_path_suggestions: Lock<FxHashSet<Span>>, /// Whether cfg(version) should treat the current release as incomplete pub assume_incomplete_release: bool, /// Spans passed to `proc_macro::quote_span`. Each span has a numerical @@ -258,7 +256,6 @@ impl ParseSess { reached_eof: AtomicBool::new(false), env_depinfo: Default::default(), file_depinfo: Default::default(), - type_ascription_path_suggestions: Default::default(), assume_incomplete_release: false, proc_macro_quoted_spans: Default::default(), attr_id_generator: AttrIdGenerator::new(), |
