aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/debug.rs6
-rw-r--r--crates/ra_hir/src/lib.rs7
2 files changed, 4 insertions, 9 deletions
diff --git a/crates/ra_hir/src/debug.rs b/crates/ra_hir/src/debug.rs
index c3f890ed4..4f3e922c3 100644
--- a/crates/ra_hir/src/debug.rs
+++ b/crates/ra_hir/src/debug.rs
@@ -36,12 +36,6 @@ impl Module {
36 } 36 }
37} 37}
38 38
39// impl HirFileId {
40// pub fn debug(self, db: &impl HirDebugDatabase) -> impl fmt::Debug + '_ {
41// debug_fn(move |fmt| db.debug_hir_file_id(self, fmt))
42// }
43// }
44
45pub trait HirDebugHelper: HirDatabase { 39pub trait HirDebugHelper: HirDatabase {
46 fn crate_name(&self, _krate: CrateId) -> Option<String> { 40 fn crate_name(&self, _krate: CrateId) -> Option<String> {
47 None 41 None
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs
index 5762b9e52..0f2d233bb 100644
--- a/crates/ra_hir/src/lib.rs
+++ b/crates/ra_hir/src/lib.rs
@@ -59,12 +59,13 @@ pub mod from_source;
59#[cfg(test)] 59#[cfg(test)]
60mod marks; 60mod marks;
61 61
62use hir_expand::{ast_id_map::FileAstId, AstId}; 62use hir_expand::{
63 ast_id_map::{AstIdMap, FileAstId},
64 AstId,
65};
63 66
64use crate::{ids::MacroFileKind, name::AsName, resolve::Resolver}; 67use crate::{ids::MacroFileKind, name::AsName, resolve::Resolver};
65 68
66use hir_expand::ast_id_map::AstIdMap;
67
68pub use crate::{ 69pub use crate::{
69 adt::VariantDef, 70 adt::VariantDef,
70 either::Either, 71 either::Either,