Home
last modified time | relevance | path

Searched defs:TestDB (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/
Dtest_db.rs25 pub(crate) struct TestDB { struct
26 storage: salsa::Storage<TestDB>, argument
30 impl Default for TestDB { argument
38 impl fmt::Debug for TestDB { implementation
44 impl Upcast<dyn ExpandDatabase> for TestDB { implementation
50 impl Upcast<dyn DefDatabase> for TestDB { implementation
56 impl salsa::Database for TestDB { implementation
65 impl salsa::ParallelDatabase for TestDB { implementation
66 fn snapshot(&self) -> salsa::Snapshot<TestDB> { in snapshot()
74 impl panic::RefUnwindSafe for TestDB {} implementation
[all …]
Dtests.rs250 db: &TestDB, in expr_node()
264 db: &TestDB, in pat_node()
408 db: &TestDB, in visit_module()
436 db: &TestDB, in visit_module()
489 fn visit_body(db: &TestDB, body: &Body, cb: &mut dyn FnMut(DefWithBodyId)) { in visit_module()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Dtest_db.rs29 pub(crate) struct TestDB { struct
30 storage: salsa::Storage<TestDB>, argument
34 impl Default for TestDB { argument
42 impl Upcast<dyn ExpandDatabase> for TestDB { implementation
48 impl Upcast<dyn DefDatabase> for TestDB { implementation
54 impl salsa::Database for TestDB { implementation
63 impl fmt::Debug for TestDB { implementation
69 impl panic::RefUnwindSafe for TestDB {} implementation
71 impl FileLoader for TestDB { implementation
83 impl TestDB { impl
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/mir/eval/
Dtests.rs9 fn eval_main(db: &TestDB, file_id: FileId) -> Result<(String, String), MirEvalError> { in eval_main()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/body/
Dscope.rs283 fn find_function(db: &TestDB, file_id: FileId) -> FunctionId { in find_function()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/consteval/
Dtests.rs74 fn eval_goal(db: &TestDB, file_id: FileId) -> Result<Const, ConstEvalError> { in eval_goal()