diff options
Diffstat (limited to 'crates/ide/src/parent_module.rs')
-rw-r--r-- | crates/ide/src/parent_module.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/parent_module.rs b/crates/ide/src/parent_module.rs index 59ed2967c..68b107901 100644 --- a/crates/ide/src/parent_module.rs +++ b/crates/ide/src/parent_module.rs | |||
@@ -69,7 +69,7 @@ mod tests { | |||
69 | 69 | ||
70 | use crate::{ | 70 | use crate::{ |
71 | mock_analysis::{analysis_and_position, MockAnalysis}, | 71 | mock_analysis::{analysis_and_position, MockAnalysis}, |
72 | AnalysisChange, CrateGraph, | 72 | Change, CrateGraph, |
73 | Edition::Edition2018, | 73 | Edition::Edition2018, |
74 | }; | 74 | }; |
75 | 75 | ||
@@ -146,7 +146,7 @@ mod foo; | |||
146 | Env::default(), | 146 | Env::default(), |
147 | Default::default(), | 147 | Default::default(), |
148 | ); | 148 | ); |
149 | let mut change = AnalysisChange::new(); | 149 | let mut change = Change::new(); |
150 | change.set_crate_graph(crate_graph); | 150 | change.set_crate_graph(crate_graph); |
151 | host.apply_change(change); | 151 | host.apply_change(change); |
152 | 152 | ||