Add beginnings of type infrastructure

This commit is contained in:
Florian Diebold 2018-12-20 21:56:28 +01:00
parent d77520fde3
commit 3ac605e687
11 changed files with 689 additions and 15 deletions

View file

@ -8,7 +8,7 @@ use test_utils::{parse_fixture, CURSOR_MARKER, extract_offset};
use crate::{db, DefId, DefLoc};
const WORKSPACE: SourceRootId = SourceRootId(0);
pub const WORKSPACE: SourceRootId = SourceRootId(0);
#[derive(Debug)]
pub(crate) struct MockDatabase {
@ -182,6 +182,7 @@ salsa::database_storage! {
fn item_map() for db::ItemMapQuery;
fn fn_syntax() for db::FnSyntaxQuery;
fn submodules() for db::SubmodulesQuery;
fn infer() for db::InferQuery;
}
}
}