aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/debug.rs
Commit message (Collapse)AuthorAgeFilesLines
* remove last traces of source roots from hirAleksey Kladov2019-10-111-3/+17
|
* document moduleAleksey Kladov2019-09-091-7/+26
|
* introduce hir debugging infraAleksey Kladov2019-09-091-0/+64
This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph