aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/resolver.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove `entries_without_primitives`Jonas Schievink2020-06-301-5/+3
|
* Handle `Self` in values and patternsFlorian Diebold2020-05-151-5/+13
| | | | | | | | | I.e. - `Self(x)` or `Self` in tuple/unit struct impls - `Self::Variant(x)` or `Self::Variant` in enum impls - the same in patterns Fixes #4454.
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-31/+31
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* Support local macro_rulesEdwin Cheng2020-03-141-0/+15
|
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-10/+10
|
* Refactor how builtins are resolvedFlorian Diebold2020-02-211-4/+9
| | | | This fixes autocompletion suggesting e.g. self::usize.
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-3/+3
|
* Make Self implement the trait inside trait default methodsFlorian Diebold2020-02-141-5/+1
|
* wip lower impl trait to type argsFlorian Diebold2020-02-071-4/+6
|
* Apply review suggestionsFlorian Diebold2020-01-111-7/+7
|
* Qualify some paths in 'add missing impl members'Florian Diebold2020-01-111-0/+5
|
* Don't add non-impl/trait containers to scopeAleksey Kladov2019-12-291-1/+1
|
* Rename ResolvedVisibility -> VisibilityFlorian Diebold2019-12-261-11/+5
|
* Rename Visibility -> RawVisibilityFlorian Diebold2019-12-261-4/+4
|
* Keep track of visibility during def collectionFlorian Diebold2019-12-261-2/+8
|
* Collect visibility of items during nameresFlorian Diebold2019-12-261-9/+6
|
* Add logic for resolving and checking visibilityFlorian Diebold2019-12-261-0/+21
|
* Rudimentary name resolution for local itemsAleksey Kladov2019-12-221-31/+72
|
* SimplifyAleksey Kladov2019-12-221-4/+4
|
* Move ModuleScope to a new moduleAleksey Kladov2019-12-201-1/+2
|
* Introduce `ContainerId`Aleksey Kladov2019-12-201-5/+13
|
* Rename ContainerId -> AssocContainerIdAleksey Kladov2019-12-201-8/+8
|
* Add body as a possible container for itemsAleksey Kladov2019-12-191-0/+1
|
* Use different types for path with and without genericsAleksey Kladov2019-12-141-24/+22
|
* Rename N! to name!Florian Diebold2019-12-131-8/+8
|
* Add macros for known names and pathsFlorian Diebold2019-12-131-8/+8
|
* Move traits to the new locAleksey Kladov2019-12-121-4/+4
|
* Switch to the new location for implsAleksey Kladov2019-12-121-1/+2
|
* Cleanup Field tyAleksey Kladov2019-12-081-16/+26
|
* Rename GenericParam -> TypeParamAleksey Kladov2019-12-071-9/+9
| | | | We don't have LifetimeParam yet, but they are planned!
* Remove idx and parent generics from genericsAleksey Kladov2019-12-071-15/+23
| | | | | This makes `hir_def::GenericParams` flatter. The logic for re-numbering the params is moved to hir instead.
* Store GenericParams in arenaAleksey Kladov2019-12-071-1/+1
|
* Add BuiltinShadowModeEdwin Cheng2019-11-301-10/+28
|
* Rename module_id -> local_idAleksey Kladov2019-11-271-3/+3
|
* CleanupAleksey Kladov2019-11-261-2/+2
|
* Add noteAleksey Kladov2019-11-261-0/+2
|
* Implement HasModule for AdtIdAleksey Kladov2019-11-241-9/+3
|
* hir_def is fully doc'ed!Aleksey Kladov2019-11-241-3/+3
|
* Cleanup nameresAleksey Kladov2019-11-241-4/+4
|
* CleanupAleksey Kladov2019-11-241-1/+1
|
* Switch to StaticLoc for staticsAleksey Kladov2019-11-241-1/+1
|
* Privatise nameresAleksey Kladov2019-11-231-1/+2
|
* Rename CrateModuleIdAleksey Kladov2019-11-231-6/+6
|
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-32/+28
|
* Reduce visibilityAleksey Kladov2019-11-211-41/+37
|
* ResimplifyAleksey Kladov2019-11-211-23/+6
|
* Move resolver to hir_defAleksey Kladov2019-11-211-0/+608