Skip to main content

Module db

Module db 

Source
Expand description

Re-exports various subcrates’ databases and queries so that the calling code can depend only on hir. This breaks abstraction boundary a bit, it would be cool if we didn’t do that.

But we need this for at least LRU caching at the query level.

Traits§

HirDatabase

Functions§

file_item_tree
Computes an [ItemTree] for the given file or macro expansion.
set_expand_proc_attr_macros