aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/autoderef.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move TyAleksey Kladov2019-11-271-108/+0
|
* Remove assoc_type_by_name helperAleksey Kladov2019-11-261-5/+5
|
* Use TypeAliasId in Ty, pt 2Aleksey Kladov2019-11-251-1/+1
|
* Remove Resolver from autoderefAleksey Kladov2019-11-251-11/+13
| | | | | Resolver holds onto too much context, including local scopes. Let's try to pass in only what is necessary -- the trait environment.
* Push resolver upAleksey Kladov2019-11-251-12/+15
|
* Move lang_items to hir_defAleksey Kladov2019-11-231-3/+4
|
* reformatAleksey Kladov2019-11-211-1/+1
|
* Remove old hir::generics moduleAleksey Kladov2019-11-211-2/+2
|
* Move resolver to hir_defAleksey Kladov2019-11-211-1/+2
|
* DecoupleAleksey Kladov2019-11-211-2/+2
|
* Don't reexport generics from HIRAleksey Kladov2019-11-111-1/+1
|
* push name down to hir_expandAleksey Kladov2019-10-301-1/+1
|
* remove forward pointer for nameAleksey Kladov2019-10-301-1/+2
|
* Add SubstsBuilderFlorian Diebold2019-09-261-6/+8
| | | | + further refactoring.
* Define known paths and group namesuHOOCCOOHu2019-09-151-1/+1
|
* cleanup hir db importsAleksey Kladov2019-09-081-1/+1
|
* Lower bounds on trait definition, and resolve assoc types from super traitsFlorian Diebold2019-09-071-2/+2
|
* Make type walking infrastructure a bit nicerFlorian Diebold2019-09-031-1/+1
| | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet.
* Some renamings for clarityFlorian Diebold2019-07-141-1/+1
|
* Unify `normalize` and `implements` to simplify codeFlorian Diebold2019-07-081-2/+4
|
* Use environment for associated type normalization as wellFlorian Diebold2019-07-081-1/+5
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-2/+2
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Simplifications / cleanup from reviewFlorian Diebold2019-06-161-1/+3
|
* Check that Deref has the right number of parametersFlorian Diebold2019-06-151-2/+7
|
* Somewhat handle variables in the derefed type, and add another testFlorian Diebold2019-06-151-5/+19
|
* Implement autoderef using the Deref traitFlorian Diebold2019-06-151-9/+59
| | | | - add support for other lang item targets, since we need the Deref lang item
* replace usages of `algo::generate` with `iter::successors` from stdRobin Freyler2019-04-131-2/+2
|
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|
* Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-091-1/+1
| | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* Implement autoderef for field accessesFlorian Diebold2019-01-071-0/+21