aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/nameres
Commit message (Expand)AuthorAgeFilesLines
* Make MacroDefId's `AstId` mandatory when possibleJonas Schievink2021-03-181-4/+1
* Rename `item_tree` query to `file_item_tree`Jonas Schievink2021-03-181-4/+4
* Make `ItemTreeId` its own typeJonas Schievink2021-03-181-6/+6
* Merge #8075bors[bot]2021-03-172-16/+37
|\
| * Fix `use crate as <name>;` importsJonas Schievink2021-03-172-16/+37
* | Improve diagnostic when including nonexistent fileJonas Schievink2021-03-171-1/+1
|/
* Use first early expansion error during nameresJonas Schievink2021-03-172-1/+20
* Merge #7970bors[bot]2021-03-152-10/+68
|\
| * Update crates/hir_def/src/nameres/collector.rsbrandondong2021-03-151-1/+1
| * Fix incorrect diagnositics for failing built in eager macrosBrandon2021-03-142-10/+68
* | Extend cfg_attr testJonas Schievink2021-03-131-0/+3
|/
* Prefer names from outer DefMap over extern preludeJonas Schievink2021-03-101-5/+11
* Delete `ContainerId`Jonas Schievink2021-03-091-12/+11
* Stop using `ContainerId` in `AssocContainerId`Jonas Schievink2021-03-091-3/+3
* Use upstream cov-markLaurențiu Nicola2021-03-088-36/+31
* For unresolved macros, hightlight only the last segmentAleksey Kladov2021-02-281-33/+48
* Restrict visibilities to the containing DefMapJonas Schievink2021-02-281-4/+17
* is_visible_from_def_map: handle block expressionsJonas Schievink2021-02-231-2/+2
* Fix resolution of `self` module within blocksJonas Schievink2021-02-051-1/+9
* Fix merging of `segment_index` in path resolutionJonas Schievink2021-02-051-2/+5
* Make `ModPath`'s representation privateJonas Schievink2021-02-042-12/+12
* Don't keep the parent DefMap alive via ArcJonas Schievink2021-02-043-13/+23
* Use body lowering for block_def_map testsJonas Schievink2021-02-032-252/+2
* Fix resolution of `crate` paths from within blocksJonas Schievink2021-02-021-2/+2
* Use the right `DefMap` when looking up modulesJonas Schievink2021-02-022-2/+16
* Revert "Use block_def_map in body lowering"Jonas Schievink2021-02-022-2/+252
* Use body lowering for block_def_map testsJonas Schievink2021-02-012-252/+2
* Honor #![macro_use] in mod source filesLukas Wirth2021-01-312-8/+23
* Fix incorrect `FileId` and remove broken shortcutJonas Schievink2021-01-281-7/+6
* block_def_map: add a few macro testsJonas Schievink2021-01-281-0/+63
* Update `original_module` when ascending `DefMap`sJonas Schievink2021-01-281-2/+5
* Fix legacy macro resolution in block expressionsJonas Schievink2021-01-271-1/+4
* Traverse parent DefMap for `super` pathsJonas Schievink2021-01-252-9/+54
* Intern block locations and handle them in ModuleIdJonas Schievink2021-01-252-11/+55
* Create all `ModuleId`s through a `DefMap` methodJonas Schievink2021-01-252-35/+16
* Merge #7391bors[bot]2021-01-232-0/+24
|\
| * Add mark::check! and mark::hit!kazatsuyu2021-01-222-0/+2
| * cargo fmtkazatsuyu2021-01-221-2/+3
| * Fix error when using "extern crate self as"kazatsuyu2021-01-222-0/+21
* | Obtain `ModuleId`'s `DefMap` through a methodJonas Schievink2021-01-222-3/+3
|/
* Remove unnecessary annotations from testsJonas Schievink2021-01-211-4/+0
* Add test for nameres in nested blocksJonas Schievink2021-01-211-0/+29
* Add test that merges inner and outer namesJonas Schievink2021-01-211-0/+25
* Fall back to parent DefMaps when resolving pathsJonas Schievink2021-01-211-0/+37
* Add name resolution query for block expressionsJonas Schievink2021-01-213-17/+108
* Rename `CrateDefMap` to `DefMap`Jonas Schievink2021-01-183-10/+10
* prepare to publish el libro de arenaAleksey Kladov2021-01-141-1/+1
* Fixed typos in code commentsVincent Esche2021-01-091-4/+4
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-2/+2
* Emit diagnostics for unresolved item-level macrosJonas Schievink2021-01-051-1/+32