Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #2250 | Gabriel Luo | 2019-12-11 | 1 | -12/+66 | |
| | | | | | Tuple in type annotation expands correctly; Expansion will prefer the following delimiter when possible. New regression tests added to verify the consistency between tuple expansion in type annotation and tuple expansion in rvalue. | |||||
* | Report correct original range in goto_definition | Aleksey Kladov | 2019-12-09 | 1 | -9/+7 | |
| | ||||||
*---. | Merge #2500 #2505 #2506 | bors[bot] | 2019-12-08 | 3 | -16/+3 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2500: Fix format_args expansion & go to definition r=matklad a=flodiebold The expansion of format_args wasn't yet correct enough to type-check. Also make macros in statement position expand to expressions for now, since it's not handled correctly in HIR lowering yet. This finally fixes go to definition within print macros, I think :slightly_smiling_face: 2505: Remove more dead code r=matklad a=matklad 2506: Remove one more Ty r=matklad a=matklad Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | | * | Remove one more Ty | Aleksey Kladov | 2019-12-08 | 1 | -1/+1 | |
| | |/ | ||||||
| | * | Remove more dead code | Aleksey Kladov | 2019-12-08 | 1 | -13/+1 | |
| |/ |/| | ||||||
| * | Fix range in goto_through_format test | Florian Diebold | 2019-12-08 | 1 | -1/+1 | |
| | | ||||||
| * | Fix expansion of format_args | Florian Diebold | 2019-12-08 | 1 | -1/+0 | |
|/ | ||||||
* | Remove ty from code_model | Aleksey Kladov | 2019-12-08 | 1 | -1/+1 | |
| | ||||||
* | Cleanup Crate API | Aleksey Kladov | 2019-12-08 | 1 | -10/+6 | |
| | ||||||
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 8 | -13/+13 | |
| | | | | We don't have LifetimeParam yet, but they are planned! | |||||
* | Get the right analyzer for impls | Aleksey Kladov | 2019-12-07 | 3 | -1/+18 | |
| | ||||||
* | Classify name works for TypeParams | Aleksey Kladov | 2019-12-07 | 1 | -0/+9 | |
| | ||||||
* | Gotodef for TypeParameters | Aleksey Kladov | 2019-12-07 | 1 | -7/+18 | |
| | ||||||
* | ToNav for GenericParam | Aleksey Kladov | 2019-12-07 | 1 | -1/+21 | |
| | ||||||
* | Show type hints for & patterns | Aleksey Kladov | 2019-12-07 | 1 | -16/+15 | |
| | ||||||
* | Make the goto_through_format test actually fail :( | Florian Diebold | 2019-12-06 | 1 | -0/+3 | |
| | ||||||
* | Try to make go to definition work in format! | Florian Diebold | 2019-12-06 | 1 | -0/+27 | |
| | | | | | | | SourceAnalyzer didn't work properly within expression macro expansions because it didn't find the enclosing function. Fix this by going up the expansion chain to find ancestors. This makes the test work, but apparently in real usage it's still not working. | |||||
* | One pub function less is good! | ice1000 | 2019-12-05 | 1 | -2/+3 | |
| | ||||||
* | No block at the moment | ice1000 | 2019-12-04 | 3 | -7/+1 | |
| | ||||||
* | Add `ModuleSource::Block` | ice1000 | 2019-12-04 | 3 | -29/+21 | |
| | ||||||
* | Run rustfmt with respect to Cargo.toml edition | Vincent Rouillé | 2019-12-04 | 1 | -0/+5 | |
| | ||||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 3 | -5/+8 | |
| | ||||||
* | Add tests for checking the impl self type | Florian Diebold | 2019-12-02 | 1 | -0/+33 | |
| | ||||||
* | Push identifier check to rename function | Wilco Kusee | 2019-11-29 | 2 | -9/+9 | |
| | ||||||
* | Test rename for various identifiers | Wilco Kusee | 2019-11-29 | 1 | -0/+43 | |
| | ||||||
* | Move identifier check to analysis | Wilco Kusee | 2019-11-29 | 1 | -1/+8 | |
| | ||||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 16 | -41/+41 | |
| | ||||||
* | Use Name::missing consistently | Aleksey Kladov | 2019-11-27 | 2 | -9/+3 | |
| | ||||||
* | Reformat | Aleksey Kladov | 2019-11-27 | 1 | -2/+1 | |
| | ||||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 60 | -0/+17199 | |