diff options
Diffstat (limited to 'crates/ra_db/src/lib.rs')
-rw-r--r-- | crates/ra_db/src/lib.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs index 4bfc3f9ae..cab47dcac 100644 --- a/crates/ra_db/src/lib.rs +++ b/crates/ra_db/src/lib.rs | |||
@@ -80,14 +80,6 @@ pub trait FilesDatabase: salsa::Database + CheckCanceled { | |||
80 | #[salsa::input] | 80 | #[salsa::input] |
81 | fn source_root(&self, id: SourceRootId) -> Arc<SourceRoot>; | 81 | fn source_root(&self, id: SourceRootId) -> Arc<SourceRoot>; |
82 | fn source_root_crates(&self, id: SourceRootId) -> Arc<Vec<CrateId>>; | 82 | fn source_root_crates(&self, id: SourceRootId) -> Arc<Vec<CrateId>>; |
83 | /// The set of "local" (that is, from the current workspace) roots. | ||
84 | /// Files in local roots are assumed to change frequently. | ||
85 | #[salsa::input] | ||
86 | fn local_roots(&self) -> Arc<Vec<SourceRootId>>; | ||
87 | /// The set of roots for crates.io libraries. | ||
88 | /// Files in libraries are assumed to never change. | ||
89 | #[salsa::input] | ||
90 | fn library_roots(&self) -> Arc<Vec<SourceRootId>>; | ||
91 | /// The crate graph. | 83 | /// The crate graph. |
92 | #[salsa::input] | 84 | #[salsa::input] |
93 | fn crate_graph(&self) -> Arc<CrateGraph>; | 85 | fn crate_graph(&self) -> Arc<CrateGraph>; |