aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/nameres/path_resolution.rs
Commit message (Collapse)AuthorAgeFilesLines
* Apply some clippy suggestionsClemens Wasser2021-06-211-1/+1
|
* clippy::redudant_borrowMaan20032021-06-131-6/+6
|
* Fix primitive shadowing with inner itemsJonas Schievink2021-04-161-1/+7
|
* Resolve prelude and crate root names in the root DefMapJonas Schievink2021-04-091-6/+32
|
* Undo path resolution hack for extern preludeJonas Schievink2021-04-091-9/+4
| | | | | We don't populate the extern prelude for block DefMaps anymore, so this is unnecessary
* resolver: manually traverse nested block scopesJonas Schievink2021-03-221-1/+1
|
* Prefer names from outer DefMap over extern preludeJonas Schievink2021-03-101-5/+11
|
* Use upstream cov-markLaurențiu Nicola2021-03-081-6/+5
|
* Restrict visibilities to the containing DefMapJonas Schievink2021-02-281-4/+17
|
* 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-041-10/+10
|
* Don't keep the parent DefMap alive via ArcJonas Schievink2021-02-041-6/+8
| | | | | This seems like it could easily leak a lot of memory since we don't currently run GC
* Fix resolution of `crate` paths from within blocksJonas Schievink2021-02-021-2/+2
| | | | | They resolve to the crate root, not the DefMap's root module (which can be a block)
* Use the right `DefMap` when looking up modulesJonas Schievink2021-02-021-1/+9
|
* Update `original_module` when ascending `DefMap`sJonas Schievink2021-01-281-2/+5
|
* Traverse parent DefMap for `super` pathsJonas Schievink2021-01-251-9/+28
|
* Intern block locations and handle them in ModuleIdJonas Schievink2021-01-251-2/+2
|
* Create all `ModuleId`s through a `DefMap` methodJonas Schievink2021-01-251-18/+6
| | | | | `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId`
* Merge #7391bors[bot]2021-01-231-0/+8
|\ | | | | | | | | | | | | | | 7391: Fix error when using "extern crate self as" r=kazatsuyu a=kazatsuyu Fix #6957 Co-authored-by: kazatsuyu <[email protected]>
| * Add mark::check! and mark::hit!kazatsuyu2021-01-221-0/+1
| |
| * cargo fmtkazatsuyu2021-01-221-2/+3
| |
| * Fix error when using "extern crate self as"kazatsuyu2021-01-221-0/+6
| |
* | Obtain `ModuleId`'s `DefMap` through a methodJonas Schievink2021-01-221-2/+2
|/
* Fall back to parent DefMaps when resolving pathsJonas Schievink2021-01-211-0/+37
|
* Rename `CrateDefMap` to `DefMap`Jonas Schievink2021-01-181-2/+2
|
* Rename ra_hir_def -> hir_defAleksey Kladov2020-08-131-0/+330