aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/db.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename `item_tree` query to `file_item_tree`Jonas Schievink2021-03-181-2/+2
|
* Make two calls virtualLaurențiu Nicola2021-03-051-1/+1
|
* Update `DefMap` and `block_def_map` docsJonas Schievink2021-02-031-0/+15
|
* Shortcut `block_def_map` if there's no inner itemsJonas Schievink2021-02-031-1/+1
| | | | | This previously didn't work, but apparently only because of the wonky test setup
* Intern block locations and handle them in ModuleIdJonas Schievink2021-01-251-6/+9
|
* Add name resolution query for block expressionsJonas Schievink2021-01-211-2/+5
|
* Rename `CrateDefMap` to `DefMap`Jonas Schievink2021-01-181-5/+5
|
* Remove map module from la-arena public APIAramis Razzaghipour2021-01-151-1/+1
| | | | | | It’s unlikely that more items will be added to the module, so it’s simpler for users if `ArenaMap` is re-exported and the module made private.
* prepare to publish el libro de arenaAleksey Kladov2021-01-141-1/+1
|
* Introduce new queries to computeDaniel Frampton2021-01-051-2/+9
| | | | | | | | 1) the set of attributes for all variants of an enum, and 2) the set of attributes for all fields of a variant. This avoids the current n^2 behavior when rendering completion for variants, which prevents completion for enums with large numbers of variants.
* Remove `module_lang_items`Jonas Schievink2020-12-161-5/+2
| | | | | It isn't used anywhere except in `crate_lang_items`. Remove it to slightly reduce memory usage and simplify the code.
* Remove documentation queryLukas Wirth2020-12-071-6/+0
|
* Rename ra_hir_def -> hir_defAleksey Kladov2020-08-131-0/+120