aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-11-23 13:41:33 +0000
committerGitHub <[email protected]>2019-11-23 13:41:33 +0000
commit87903420968a958e9f420788edb181ddca7b8b31 (patch)
tree6551407c9053a4e521a3f4cda018b8b1c1f9cb00 /crates/ra_hir/src/db.rs
parentcf8ac6e3c75b501cf59ba7b4d97c58efb9cb2adb (diff)
parent338ff052c2fe658d6fcf88888918b2e372129e21 (diff)
Merge #2374
2374: Simplify HasSource r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/db.rs')
-rw-r--r--crates/ra_hir/src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index 399101b83..3ae5df8d5 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -29,7 +29,7 @@ pub use hir_expand::db::{
29 29
30#[salsa::query_group(HirDatabaseStorage)] 30#[salsa::query_group(HirDatabaseStorage)]
31#[salsa::requires(salsa::Database)] 31#[salsa::requires(salsa::Database)]
32pub trait HirDatabase: DefDatabase + AstDatabase { 32pub trait HirDatabase: DefDatabase {
33 #[salsa::invoke(crate::ty::infer_query)] 33 #[salsa::invoke(crate::ty::infer_query)]
34 fn infer(&self, def: DefWithBody) -> Arc<InferenceResult>; 34 fn infer(&self, def: DefWithBody) -> Arc<InferenceResult>;
35 35