Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename ImplsInCrateQuery as well | Florian Diebold | 2019-01-04 | 3 | -3/+3 |
| | |||||
* | Do impl collection per module, not per crate | Florian Diebold | 2019-01-04 | 3 | -33/+32 |
| | |||||
* | Rename ImplBlock::target -> target_type, and add target_trait already | Florian Diebold | 2019-01-04 | 2 | -7/+17 |
| | |||||
* | Rename traits::impl_item -> impl_block as well, as well as the tests | Florian Diebold | 2019-01-04 | 6 | -4/+4 |
| | |||||
* | Add a test for self field completion | Florian Diebold | 2019-01-04 | 3 | -5/+25 |
| | | | | Needed to add a default crate graph in the analysis for that. | ||||
* | Refactor a bit | Florian Diebold | 2019-01-04 | 1 | -58/+62 |
| | |||||
* | Resolve the Self type | Florian Diebold | 2019-01-04 | 3 | -24/+71 |
| | |||||
* | Resolve the self parameter during type inference | Florian Diebold | 2019-01-04 | 3 | -4/+19 |
| | |||||
* | Type the self parameter | Florian Diebold | 2019-01-04 | 6 | -9/+116 |
| | |||||
* | Add HIR for impl blocks | Florian Diebold | 2019-01-04 | 11 | -8/+269 |
| | | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it. | ||||
* | Add test for self type inference | Florian Diebold | 2019-01-04 | 2 | -0/+23 |
| | |||||
* | Rename ImplItem to ImplBlock | Florian Diebold | 2019-01-04 | 24 | -52/+51 |
| | | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion. | ||||
* | remove id arena | Aleksey Kladov | 2019-01-04 | 7 | -87/+25 |
| | |||||
* | extract area to a crate | Aleksey Kladov | 2019-01-04 | 8 | -94/+137 |
| | |||||
* | add mod doc comments test in ast | csmoe | 2019-01-04 | 1 | -0/+13 |
| | |||||
* | parse doc comment for items | csmoe | 2019-01-04 | 3 | -2/+15 |
| | |||||
* | add mod doc comment test | csmoe | 2019-01-04 | 2 | -0/+22 |
| | |||||
* | Merge #391 | bors[bot] | 2019-01-04 | 5 | -59/+117 |
|\ | | | | | | | | | | | | | | | 391: docing parser methods r=csmoe a=csmoe Co-authored-by: csmoe <[email protected]> | ||||
| * | consume trivias for type/const def | csmoe | 2019-01-04 | 1 | -2/+1 |
| | | |||||
| * | doc parsing events | csmoe | 2019-01-04 | 4 | -43/+71 |
| | | |||||
| * | doc parser input | csmoe | 2019-01-01 | 2 | -10/+30 |
| | | |||||
| * | docing parser methods | csmoe | 2018-12-31 | 4 | -12/+23 |
| | | |||||
* | | index stuff produced by macros | Aleksey Kladov | 2019-01-03 | 5 | -16/+86 |
| | | |||||
* | | construct index from symbols directly | Aleksey Kladov | 2019-01-03 | 2 | -13/+17 |
| | | |||||
* | | don't create many compilation units for tests | Aleksey Kladov | 2019-01-03 | 3 | -13/+5 |
| | | |||||
* | | Merge #419 | bors[bot] | 2019-01-03 | 3 | -35/+34 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 419: file-id-to-symbol r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | embed file_id into FileSymbol | Aleksey Kladov | 2019-01-03 | 3 | -35/+34 |
| | | | |||||
* | | | add pub(crate) works for named fields | Aleksey Kladov | 2019-01-03 | 1 | -18/+37 |
|/ / | |||||
* | | Merge #416 | bors[bot] | 2019-01-03 | 12 | -214/+286 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 416: assist-builder r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | fix the test | Aleksey Kladov | 2019-01-03 | 2 | -6/+1 |
| | | | |||||
| * | | more enterprisey assists API | Aleksey Kladov | 2019-01-03 | 11 | -210/+287 |
| | | | |||||
* | | | fix tests | Bernardo | 2019-01-03 | 1 | -9/+14 |
| | | | |||||
* | | | use lsp WorkspaceEdit instead of custom source_file_edits and file_system_edits | Bernardo | 2019-01-03 | 2 | -36/+37 |
|/ / | |||||
* | | split assists over several files | Aleksey Kladov | 2019-01-03 | 8 | -403/+488 |
| | | |||||
* | | rename code-actions -> assists | Aleksey Kladov | 2019-01-03 | 3 | -8/+8 |
| | | |||||
* | | visibility owner | Aleksey Kladov | 2019-01-03 | 3 | -4/+64 |
| | | |||||
* | | hardcode vec macro | Aleksey Kladov | 2019-01-03 | 2 | -1/+27 |
| | | |||||
* | | Merge #409 | bors[bot] | 2019-01-03 | 1 | -0/+79 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 409: Add Analysis#teype_of test r=matklad a=h-michael Co-authored-by: Hirokazu Hata <[email protected]> | ||||
| * | | Deive type_of test from tests | Hirokazu Hata | 2019-01-03 | 2 | -17/+80 |
| | | | |||||
| * | | Remove unnecessary mock functions | Hirokazu Hata | 2019-01-03 | 1 | -27/+1 |
| | | | |||||
| * | | Add Analysis#teype_of test | Hirokazu Hata | 2019-01-03 | 2 | -2/+44 |
| | | | |||||
* | | | docs | Aleksey Kladov | 2019-01-03 | 2 | -3/+33 |
| | | | |||||
* | | | use LocalPtr in navigation target | Aleksey Kladov | 2019-01-03 | 4 | -7/+13 |
| | | | |||||
* | | | use LocalSyntaxPtr for file symbol | Aleksey Kladov | 2019-01-03 | 3 | -53/+49 |
| | | | |||||
* | | | move some logic to navigation target | Aleksey Kladov | 2019-01-03 | 3 | -113/+127 |
| | | | |||||
* | | | add kind to LocalSyntaxPtr | Aleksey Kladov | 2019-01-03 | 1 | -0/+4 |
| | | | |||||
* | | | explain that completion shouldn't do filtering | Aleksey Kladov | 2019-01-03 | 1 | -1/+15 |
|/ / | |||||
* | | Merge #407 | bors[bot] | 2019-01-02 | 6 | -124/+64 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 407: run r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | simplify runnables | Aleksey Kladov | 2019-01-02 | 6 | -124/+64 |
| | | | |||||
* | | | Merge #406 | bors[bot] | 2019-01-02 | 4 | -218/+203 |
|\| | | | | | | | | | | | | | | | | | | | | | | | 406: Simplify r=matklad a=matklad Get rid of `AnalysisImpl` wrapper around salsa database. It was useful before we migrated by salsa, but it's long have been just a useless boilerplate. Co-authored-by: Aleksey Kladov <[email protected]> |