Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Return type name when doc_text_for returns nothing | Hirokazu Hata | 2019-01-03 | 1 | -0/+12 | |
| | | ||||||
* | | change visibility can change pub to pub(crate) | Aleksey Kladov | 2019-01-05 | 2 | -2/+48 | |
| | | ||||||
* | | split import assist | Aleksey Kladov | 2019-01-05 | 4 | -0/+126 | |
| | | ||||||
* | | Merge #427 | bors[bot] | 2019-01-05 | 1 | -2/+58 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 427: Remove extra space when joining lines in use items r=matklad a=alanhdu Fixes #423. Co-authored-by: Alan Du <[email protected]> | |||||
| * | | Fix join_lines use_items right w/ and w/o comma | Alan Du | 2019-01-05 | 1 | -3/+22 | |
| | | | ||||||
| * | | Address join lines use items right } | Alan Du | 2019-01-05 | 1 | -3/+21 | |
| | | | ||||||
| * | | Remove extra space when joining lines in use items | Alan Du | 2019-01-04 | 1 | -0/+19 | |
| | | | ||||||
* | | | Merge #370 | bors[bot] | 2019-01-04 | 26 | -62/+548 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 370: Self params & type r=matklad a=flodiebold This implements type inference for `self`, so field completion for methods taking `self` works now. - rename `IMPL_ITEM` to `IMPL_BLOCK` -- rustc calls the methods etc. inside an impl `ImplItem`s, and the impl itself doesn't define an item, so I thought this name was clearer. - add HIR for impl blocks -- we collect all impls in a crate at once, so we can go from methods to containing impls, and since we will later also need to find all impls for a certain type (which may be anywhere in the crate, I think?). We could be more lazy here, but I don't know if it's worth the complexity. - resolve `self` and `Self` during type inference - refactor a bit in ty.rs as well Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | | | 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 | |
| | | | | ||||||
* | | | | :arrow_up: salsa | Aleksey Kladov | 2019-01-04 | 3 | -3/+3 | |
|/ / / | ||||||
* / / | 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 | |
| | | |