mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
move expansion-related code to a separate crate
This commit is contained in:
parent
4f22d2f3b0
commit
5413875644
11 changed files with 344 additions and 303 deletions
|
@ -36,11 +36,11 @@ 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))
|
||||
}
|
||||
}
|
||||
// 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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue