Add TestDB

This commit is contained in:
Edwin Cheng 2019-11-23 01:11:33 +08:00
parent 4d49b5d174
commit f4e78a5f4e
2 changed files with 53 additions and 0 deletions

View file

@ -26,6 +26,9 @@ use ra_syntax::{
use crate::ast_id_map::FileAstId;
use crate::builtin_macro::BuiltinExpander;
#[cfg(test)]
mod test_db;
/// Input to the analyzer is a set of files, where each file is identified by
/// `FileId` and contains source code. However, another source of source code in
/// Rust are macros: each macro can be thought of as producing a "temporary