Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More profiling | Aleksey Kladov | 2019-12-21 | 1 | -2/+7 |
| | |||||
* | Merge #2637 | bors[bot] | 2019-12-21 | 2 | -0/+7 |
|\ | | | | | | | | | | | | | | | 2637: Optimize and profile r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Optimize and profile | Aleksey Kladov | 2019-12-21 | 2 | -0/+7 |
| | | |||||
* | | Remove import source map | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
|/ | |||||
* | Remove imports from hir | Aleksey Kladov | 2019-12-21 | 3 | -27/+8 |
| | |||||
* | Revert "Merge #2629" | Aleksey Kladov | 2019-12-21 | 4 | -14/+28 |
| | | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79. | ||||
* | Remove import source map | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
| | |||||
* | Remove hir for imports | Aleksey Kladov | 2019-12-21 | 3 | -26/+12 |
| | |||||
* | Move impls to ItemScope | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Fix resolve for field init shorthand | Aleksey Kladov | 2019-12-20 | 2 | -8/+16 |
| | |||||
* | Use generic ItemLoc for impls | Aleksey Kladov | 2019-12-20 | 1 | -2/+2 |
| | |||||
* | Support for nested traits | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Support for nested ADT | Aleksey Kladov | 2019-12-20 | 1 | -6/+6 |
| | |||||
* | Rebuild ra_lsp_server and nest helper function. | Aleksey Kladov | 2019-12-20 | 1 | -37/+37 |
| | | | | Completion now works again, so there's no need not to nest | ||||
* | Handle nested declrations in from_source | Aleksey Kladov | 2019-12-20 | 1 | -7/+16 |
| | |||||
* | Add local functions to bodies | Aleksey Kladov | 2019-12-20 | 1 | -3/+8 |
| | |||||
* | Drop dead code | Aleksey Kladov | 2019-12-19 | 2 | -60/+4 |
| | |||||
* | Merge #2562 | bors[bot] | 2019-12-17 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2562: Fix NavigationTarget ranges r=matklad a=edwin0cheng Fix the issue described in https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553 This PR change the order for finding `full_range` of `focus_range` in following orders: 1. map both ranges to macro_call 2. map focus range to a token inside macro call, and full range to the whole of macro call 3. map both ranges to the whole of macro call And fix the corresponding tests and make these tests easily to follow. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Re-export Origin to replace ExpansionOrigin | Edwin Cheng | 2019-12-14 | 1 | -2/+1 |
| | | |||||
| * | Fix original_source find order | Edwin Cheng | 2019-12-14 | 1 | -1/+2 |
| | | |||||
* | | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 2 | -28/+30 |
| | | |||||
* | | Use path macro | Florian Diebold | 2019-12-13 | 1 | -2/+2 |
| | | |||||
* | | Rename N! to name! | Florian Diebold | 2019-12-13 | 1 | -2/+2 |
| | | |||||
* | | Add macros for known names and paths | Florian Diebold | 2019-12-13 | 1 | -2/+2 |
|/ | |||||
* | Dedupe from_source impls | Aleksey Kladov | 2019-12-12 | 1 | -77/+34 |
| | |||||
* | Move enum&union to new loc | Aleksey Kladov | 2019-12-12 | 3 | -27/+18 |
| | |||||
* | Move structs to new loc | Aleksey Kladov | 2019-12-12 | 3 | -5/+7 |
| | |||||
* | Simplify from_source | Aleksey Kladov | 2019-12-12 | 1 | -49/+34 |
| | |||||
* | Move traits to the new loc | Aleksey Kladov | 2019-12-12 | 3 | -4/+6 |
| | |||||
* | Switch to the new location for impls | Aleksey Kladov | 2019-12-12 | 3 | -5/+10 |
| | |||||
* | Build correct SourceAnalyzer for traits | Aleksey Kladov | 2019-12-10 | 1 | -14/+4 |
| | |||||
* | Remove one more Ty | Aleksey Kladov | 2019-12-08 | 2 | -7/+2 |
| | |||||
* | Remove more dead code | Aleksey Kladov | 2019-12-08 | 2 | -96/+0 |
| | |||||
* | Cleanup module structure | Aleksey Kladov | 2019-12-08 | 3 | -8/+7 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2019-12-08 | 1 | -33/+0 |
| | |||||
* | Remove ty from code_model | Aleksey Kladov | 2019-12-08 | 5 | -49/+36 |
| | |||||
* | Remove bodies from code_model | Aleksey Kladov | 2019-12-08 | 1 | -9/+0 |
| | |||||
* | remove `infer` method from CodeModel | Aleksey Kladov | 2019-12-08 | 1 | -14/+2 |
| | |||||
* | Drop some unused methods | Aleksey Kladov | 2019-12-08 | 2 | -49/+5 |
| | |||||
* | Cleanup Field ty | Aleksey Kladov | 2019-12-08 | 1 | -10/+21 |
| | |||||
* | Cleanup Crate API | Aleksey Kladov | 2019-12-08 | 4 | -22/+36 |
| | |||||
* | Remove MacroFileKind | Edwin Cheng | 2019-12-08 | 1 | -39/+2 |
| | |||||
* | Discover type parameters in more cases | Aleksey Kladov | 2019-12-07 | 1 | -0/+5 |
| | |||||
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 5 | -23/+23 |
| | | | | We don't have LifetimeParam yet, but they are planned! | ||||
* | Get the right analyzer for impls | Aleksey Kladov | 2019-12-07 | 1 | -1/+5 |
| | |||||
* | Classify name works for TypeParams | Aleksey Kladov | 2019-12-07 | 2 | -3/+24 |
| | |||||
* | ToNav for GenericParam | Aleksey Kladov | 2019-12-07 | 1 | -0/+7 |
| | |||||
* | Track source of type parameters | Aleksey Kladov | 2019-12-07 | 1 | -2/+10 |
| | |||||
* | Remove idx and parent generics from generics | Aleksey Kladov | 2019-12-07 | 2 | -11/+4 |
| | | | | | This makes `hir_def::GenericParams` flatter. The logic for re-numbering the params is moved to hir instead. | ||||
* | Merge #2489 | bors[bot] | 2019-12-06 | 1 | -5/+7 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 2489: Implement `format_args` r=flodiebold a=flodiebold This fixes a huge amount of type mismatches (because every format call was a type mismatch so far); I also hoped to get go to def working within `format!` etc., and the test says it should, but in practice it still doesn't seem to... Also remove the `len` parameter from `Name::new_inline_ascii`, which I'm assuming was only there because of `const fn` limitations? cc @edwin0cheng Co-authored-by: Florian Diebold <[email protected]> |