@@ -3,7 +3,7 @@ use crate::{
3
3
filter:: MaybeSolData ,
4
4
replace_source_content,
5
5
resolver:: parse:: SolData ,
6
- ArtifactOutput , CompilerSettings , Graph , Project , ProjectPathsConfig ,
6
+ ArtifactOutput , CompilerSettings , Graph , Project , ProjectPathsConfig , Updates ,
7
7
} ;
8
8
use foundry_compilers_artifacts:: {
9
9
ast:: { visitor:: Visitor , * } ,
@@ -18,7 +18,7 @@ use foundry_compilers_core::{
18
18
} ;
19
19
use itertools:: Itertools ;
20
20
use std:: {
21
- collections:: { BTreeSet , HashMap , HashSet } ,
21
+ collections:: { HashMap , HashSet } ,
22
22
hash:: Hash ,
23
23
path:: { Path , PathBuf } ,
24
24
sync:: Arc ,
@@ -112,11 +112,6 @@ impl Visitor for ReferencesCollector {
112
112
}
113
113
}
114
114
115
- pub type Update = ( usize , usize , String ) ;
116
- /// Updates to be applied to the sources.
117
- /// source_path -> (start, end, new_value)
118
- pub type Updates = HashMap < PathBuf , BTreeSet < ( usize , usize , String ) > > ;
119
-
120
115
pub struct FlatteningResult {
121
116
/// Updated source in the order they should be written to the output file.
122
117
sources : Vec < String > ,
0 commit comments