Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -1/+2 |
| | |||||
* | remove forward pointer to Path | Aleksey Kladov | 2019-10-30 | 1 | -2/+1 |
| | |||||
* | remove forward pointer for name | Aleksey Kladov | 2019-10-30 | 1 | -2/+3 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | Support inferring `Self` type in enum definitions | ice1000 | 2019-10-08 | 1 | -1/+1 |
| | | | | Signed-off-by: ice1000 <[email protected]> | ||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -7/+7 |
| | | | | #1856 | ||||
* | Support `$crate` in item and expr place. | uHOOCCOOHu | 2019-09-26 | 1 | -0/+2 |
| | |||||
* | Remove redundant clone() | Shotaro Yamada | 2019-09-25 | 1 | -1/+1 |
| | |||||
* | introduce FromSource trait | Ekaterina Babshukova | 2019-09-19 | 1 | -107/+17 |
| | |||||
* | Refactor a bit to prepare for resolving trait assoc items | Florian Diebold | 2019-09-17 | 1 | -1/+1 |
| | |||||
* | Define known paths and group names | uHOOCCOOHu | 2019-09-15 | 1 | -6/+2 |
| | |||||
* | Support path starting with a type | uHOOCCOOHu | 2019-09-15 | 1 | -9/+5 |
| | |||||
* | Specify desirable namespace when calling resolve | Aleksey Kladov | 2019-09-13 | 1 | -25/+41 |
| | | | | That way, we are able to get rid of a number of unreachable statements | ||||
* | start cleaning up the resolution | Aleksey Kladov | 2019-09-12 | 1 | -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 imports | Aleksey Kladov | 2019-09-08 | 1 | -3/+3 |
| | |||||
* | Correctly build BodySourceMap for macro-expanded expressions | Aleksey Kladov | 2019-09-03 | 1 | -7/+22 |
| | |||||
* | fix hir for new block syntax | Aleksey Kladov | 2019-09-02 | 1 | -4/+10 |
| | |||||
* | Add an expr_source method analogous to the source methods in the code model | Florian Diebold | 2019-09-02 | 1 | -3/+3 |
| | | | | ... and use that instead of exposing the source map. | ||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -4/+4 |
| | |||||
* | rustfmt | Evgenii P | 2019-08-04 | 1 | -3/+1 |
| | |||||
* | Idiomatic return | Evgenii P | 2019-08-04 | 1 | -1/+1 |
| | |||||
* | Employ early return pattern more | Evgenii P | 2019-08-04 | 1 | -10/+8 |
| | |||||
* | source_binder.rs: fix order of imports | Evgenii P | 2019-08-04 | 1 | -9/+10 |
| | |||||
* | Use std::future::Future trait from stdlib | Evgenii P | 2019-08-03 | 1 | -21/+36 |
| | |||||
* | Use future lang item instead of hardcoded std::future::Future | Evgenii P | 2019-08-02 | 1 | -31/+10 |
| | |||||
* | rustfmt | Evgenii P | 2019-08-02 | 1 | -10/+13 |
| | |||||
* | Implement completion for the .await syntax | Evgenii P | 2019-08-02 | 1 | -0/+37 |
| | |||||
* | show local variable types in completion | Ekaterina Babshukova | 2019-07-23 | 1 | -0/+8 |
| | |||||
* | provide completion in struct patterns | Ekaterina Babshukova | 2019-07-21 | 1 | -2/+7 |
| | |||||
* | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 1 | -1/+1 |
| | |||||
* | cleanup casts | Aleksey Kladov | 2019-07-19 | 1 | -9/+5 |
| | |||||
* | several highlighting cleanups | Aleksey Kladov | 2019-07-19 | 1 | -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 rowan | Aleksey Kladov | 2019-07-19 | 1 | -27/+27 |
| | |||||
* | complete fields in enum variants | Ekaterina Babshukova | 2019-07-12 | 1 | -0/+5 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -2/+2 |
| | | | | this is in preparation for the new rowan API | ||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -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 trait | Florian Diebold | 2019-06-15 | 1 | -0/+11 |
| | | | | - add support for other lang item targets, since we need the Deref lang item | ||||
* | use Source for module, part 1 | Aleksey Kladov | 2019-06-11 | 1 | -3/+3 |
| | |||||
* | remove some hacks from nameresolution for macros | Aleksey Kladov | 2019-06-08 | 1 | -3/+2 |
| | |||||
* | somewhat better name | Aleksey Kladov | 2019-06-08 | 1 | -2/+2 |
| | |||||
* | one macro def should be enough | Aleksey Kladov | 2019-06-08 | 1 | -24/+6 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 1 | -7/+4 |
| | |||||
* | Improve goto definition for MBE | Edwin Cheng | 2019-06-01 | 1 | -2/+7 |
| | |||||
* | fix syntax errors in tests | Aleksey Kladov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | simplify | Aleksey Kladov | 2019-05-12 | 1 | -15/+3 |
| | |||||
* | simplify | Aleksey Kladov | 2019-05-12 | 1 | -7/+6 |
| | |||||
* | Merge #1208 | bors[bot] | 2019-05-04 | 1 | -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 goto | Lenard Pratt | 2019-05-04 | 1 | -3/+40 |
| | | |||||
* | | Handle recursive types in canonicalization | Florian Diebold | 2019-05-04 | 1 | -1/+1 |
| | | |||||
* | | Canonicalize before doing method resolution | Florian Diebold | 2019-05-04 | 1 | -1/+10 |
|/ |