aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_binder.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-081-3/+2
|
* somewhat better nameAleksey Kladov2019-06-081-2/+2
|
* one macro def should be enoughAleksey Kladov2019-06-081-24/+6
|
* Fix clippy::identity_conversionAlan Du2019-06-041-7/+4
|
* Improve goto definition for MBEEdwin Cheng2019-06-011-2/+7
|
* fix syntax errors in testsAleksey Kladov2019-05-281-1/+1
|
* simplifyAleksey Kladov2019-05-121-15/+3
|
* simplifyAleksey Kladov2019-05-121-7/+6
|
* Merge #1208bors[bot]2019-05-041-3/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1208: [WIP] Goto for Macro's r=matklad a=Lapz Adds goto definition for macros. Currently only works for macros in the current crate ~~otherwise it panics~~. Proper macro resolution needs to be added for it to resolve macros in other crates. Todo - [X] Allow goto from macro calls - [X] Fix panics - [x] Add tests ![Screen Recording 2019-04-25 at 18 00 24](https://user-images.githubusercontent.com/19998186/56754499-1dd01c00-6785-11e9-9e9a-1e36de70cfa3.gif) Co-authored-by: Lenard Pratt <[email protected]>
| * Added local macro gotoLenard Pratt2019-05-041-3/+40
| |
* | Handle recursive types in canonicalizationFlorian Diebold2019-05-041-1/+1
| |
* | Canonicalize before doing method resolutionFlorian Diebold2019-05-041-1/+10
|/