aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_binder.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move body queries to hir_defAleksey Kladov2019-11-141-1/+1
|
* Move scopes to hir_defAleksey Kladov2019-11-141-5/+1
|
* Handle macro-generated expressions slightly less wrongAleksey Kladov2019-11-141-13/+31
|
* Remove owner from BodyAleksey Kladov2019-11-121-1/+1
|
* Introduce hir::GenericParamAleksey Kladov2019-11-111-4/+7
| | | | Unlike existing hir::GenericParams, this is a global ID.
* Add hir::LocalAleksey Kladov2019-11-111-12/+8
|
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-2/+5
|
* Change SourceAnalyzer method resoltion APIFlorian Diebold2019-11-011-2/+25
|
* Complete trait assoc itemsFlorian Diebold2019-11-011-3/+5
|
* Refactor to unify with method resolutionFlorian Diebold2019-11-011-3/+4
|
* Fixes #2143kjeremy2019-10-311-1/+3
|
* source_binder => match_ast!kjeremy2019-10-301-28/+36
|
* push name down to hir_expandAleksey Kladov2019-10-301-1/+2
|
* remove forward pointer to PathAleksey Kladov2019-10-301-2/+1
|
* remove forward pointer for nameAleksey Kladov2019-10-301-2/+3
|
* Move ids to hir_def crateAleksey Kladov2019-10-301-1/+1
|
* Support inferring `Self` type in enum definitionsice10002019-10-081-1/+1
| | | | Signed-off-by: ice1000 <[email protected]>
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-7/+7
| | | | #1856
* Support `$crate` in item and expr place.uHOOCCOOHu2019-09-261-0/+2
|
* Remove redundant clone()Shotaro Yamada2019-09-251-1/+1
|
* introduce FromSource traitEkaterina Babshukova2019-09-191-107/+17
|
* Refactor a bit to prepare for resolving trait assoc itemsFlorian Diebold2019-09-171-1/+1
|
* Define known paths and group namesuHOOCCOOHu2019-09-151-6/+2
|
* Support path starting with a typeuHOOCCOOHu2019-09-151-9/+5
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-131-25/+41
| | | | That way, we are able to get rid of a number of unreachable statements
* start cleaning up the resolutionAleksey Kladov2019-09-121-6/+5
| | | | | | | Nameres related types, like `PerNs<Resolution>`, can represent unreasonable situations, like a local in a type namespace. We should clean this up, by requiring that call-site specifies the kind of resolution it expects.
* cleanup hir db importsAleksey Kladov2019-09-081-3/+3
|
* Correctly build BodySourceMap for macro-expanded expressionsAleksey Kladov2019-09-031-7/+22
|
* fix hir for new block syntaxAleksey Kladov2019-09-021-4/+10
|
* Add an expr_source method analogous to the source methods in the code modelFlorian Diebold2019-09-021-3/+3
| | | | ... and use that instead of exposing the source map.
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-4/+4
|
* rustfmtEvgenii P2019-08-041-3/+1
|
* Idiomatic returnEvgenii P2019-08-041-1/+1
|
* Employ early return pattern moreEvgenii P2019-08-041-10/+8
|
* source_binder.rs: fix order of importsEvgenii P2019-08-041-9/+10
|
* Use std::future::Future trait from stdlibEvgenii P2019-08-031-21/+36
|
* Use future lang item instead of hardcoded std::future::FutureEvgenii P2019-08-021-31/+10
|
* rustfmtEvgenii P2019-08-021-10/+13
|
* Implement completion for the .await syntaxEvgenii P2019-08-021-0/+37
|
* show local variable types in completionEkaterina Babshukova2019-07-231-0/+8
|
* provide completion in struct patternsEkaterina Babshukova2019-07-211-2/+7
|
* rename range -> text_rangeAleksey Kladov2019-07-201-1/+1
|
* cleanup castsAleksey Kladov2019-07-191-9/+5
|
* several highlighting cleanupsAleksey Kladov2019-07-191-2/+13
| | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function
* migrate ra_hir to the new rowanAleksey Kladov2019-07-191-27/+27
|
* complete fields in enum variantsEkaterina Babshukova2019-07-121-0/+5
|
* make Parse fields privateAleksey Kladov2019-07-121-2/+2
| | | | this is in preparation for the new rowan API
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-7/+11
| | | | | | 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
* Implement autoderef using the Deref traitFlorian Diebold2019-06-151-0/+11
| | | | - add support for other lang item targets, since we need the Deref lang item
* use Source for module, part 1Aleksey Kladov2019-06-111-3/+3
|