This commit is contained in:
Aleksey Kladov 2019-10-29 16:19:08 +03:00
parent 99b6ecfab0
commit bca708ba4c
4 changed files with 16 additions and 24 deletions

View file

@ -36,12 +36,6 @@ impl Module {
}
}
// impl HirFileId {
// pub fn debug(self, db: &impl HirDebugDatabase) -> impl fmt::Debug + '_ {
// debug_fn(move |fmt| db.debug_hir_file_id(self, fmt))
// }
// }
pub trait HirDebugHelper: HirDatabase {
fn crate_name(&self, _krate: CrateId) -> Option<String> {
None

View file

@ -59,12 +59,13 @@ pub mod from_source;
#[cfg(test)]
mod marks;
use hir_expand::{ast_id_map::FileAstId, AstId};
use hir_expand::{
ast_id_map::{AstIdMap, FileAstId},
AstId,
};
use crate::{ids::MacroFileKind, name::AsName, resolve::Resolver};
use hir_expand::ast_id_map::AstIdMap;
pub use crate::{
adt::VariantDef,
either::Either,