mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
cleanup
This commit is contained in:
parent
99b6ecfab0
commit
bca708ba4c
4 changed files with 16 additions and 24 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue