aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/references
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-10-30 10:10:38 +0000
committerAleksey Kladov <[email protected]>2019-10-30 10:11:38 +0000
commitc9cd6aa370667783292de3bc580e0503a409e453 (patch)
tree4662b1c76bed5e830c1dae9ee5dbf47520f41e1e /crates/ra_ide_api/src/references
parenta136cc0653d2b4133fb6387009cfdbaf3e2cf275 (diff)
Move ids to hir_def crate
Diffstat (limited to 'crates/ra_ide_api/src/references')
-rw-r--r--crates/ra_ide_api/src/references/search_scope.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/references/search_scope.rs b/crates/ra_ide_api/src/references/search_scope.rs
index b6eb248b7..dbd1af597 100644
--- a/crates/ra_ide_api/src/references/search_scope.rs
+++ b/crates/ra_ide_api/src/references/search_scope.rs
@@ -120,7 +120,7 @@ impl NameDefinition {
120 return SearchScope::new(res); 120 return SearchScope::new(res);
121 } 121 }
122 if vis.as_str() == "pub" { 122 if vis.as_str() == "pub" {
123 let krate = self.container.krate(db).unwrap(); 123 let krate = self.container.krate();
124 let crate_graph = db.crate_graph(); 124 let crate_graph = db.crate_graph();
125 for crate_id in crate_graph.iter() { 125 for crate_id in crate_graph.iter() {
126 let mut crate_deps = crate_graph.dependencies(crate_id); 126 let mut crate_deps = crate_graph.dependencies(crate_id);