File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ impl WorldState {
111111 /// from oak-querying code.
112112 pub ( crate ) fn legacy_snapshot ( & self ) -> WorldState {
113113 WorldState {
114- oak : OakDatabase :: new ( ) ,
114+ db : OakDatabase :: new ( ) ,
115115 ..self . clone ( )
116116 }
117117 }
@@ -163,7 +163,7 @@ mod tests {
163163 use std:: time:: Duration ;
164164
165165 use oak_db:: OakDatabase ;
166- use oak_scan:: DbExt ;
166+ use oak_scan:: DbScan ;
167167 use oak_semantic:: library:: Library ;
168168
169169 use super :: WorldState ;
@@ -180,7 +180,7 @@ mod tests {
180180 /// no query running and asserts a setter on the owner still completes.
181181 #[ test]
182182 fn legacy_snapshot_does_not_pin_oak_against_mutation ( ) {
183- let mut state = WorldState :: new ( Library :: new ( vec ! [ ] ) , OakDatabase :: new ( ) ) ;
183+ let mut state = WorldState :: new ( OakDatabase :: new ( ) , Library :: new ( vec ! [ ] ) ) ;
184184
185185 let snapshot = state. legacy_snapshot ( ) ;
186186
@@ -197,7 +197,7 @@ mod tests {
197197
198198 let ( tx, rx) = mpsc:: channel ( ) ;
199199 let mutator = std:: thread:: spawn ( move || {
200- state. oak . set_library_paths ( & [ ] ) ;
200+ state. db . set_library_paths ( & [ ] ) ;
201201 let _ = tx. send ( ( ) ) ;
202202 } ) ;
203203
You can’t perform that action at this time.
0 commit comments