mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Add beginnings of type infrastructure
This commit is contained in:
parent
d77520fde3
commit
3ac605e687
11 changed files with 689 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue