File tree Expand file tree Collapse file tree 6 files changed +198
-178
lines changed
test/incremental/hygiene/auxiliary Expand file tree Collapse file tree 6 files changed +198
-178
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ use std::num::NonZeroUsize;
46
46
use std:: path:: Path ;
47
47
48
48
pub use cstore_impl:: { provide, provide_extern} ;
49
- use rustc_span:: hygiene:: HygieneContext ;
49
+ use rustc_span:: hygiene:: HygieneDecodeContext ;
50
50
51
51
mod cstore_impl;
52
52
@@ -111,10 +111,10 @@ crate struct CrateMetadata {
111
111
112
112
/// Additional data used for decoding `HygieneData` (e.g. `SyntaxContext`
113
113
/// and `ExpnId`).
114
- /// Note that we store a `HygieneContext ` for each `CrateMetadat`. This is
114
+ /// Note that we store a `HygieneDecodeContext ` for each `CrateMetadat`. This is
115
115
/// because `SyntaxContext` ids are not globally unique, so we need
116
116
/// to track which ids we've decoded on a per-crate basis.
117
- hygiene_context : HygieneContext ,
117
+ hygiene_context : HygieneDecodeContext ,
118
118
119
119
// --- Data used only for improving diagnostics ---
120
120
/// Information about the `extern crate` item or path that caused this crate to be loaded.
@@ -1671,7 +1671,7 @@ impl CrateMetadata {
1671
1671
private_dep,
1672
1672
host_hash,
1673
1673
extern_crate : Lock :: new ( None ) ,
1674
- hygiene_context : HygieneContext :: new ( ) ,
1674
+ hygiene_context : Default :: default ( ) ,
1675
1675
}
1676
1676
}
1677
1677
You can’t perform that action at this time.
0 commit comments