aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Merge #655bors[bot]2019-01-253-1/+30
|\ | | | | | | | | | | | | | | 655: Fix type inference of binops on int/float variables r=matklad a=flodiebold Fixes #651. Co-authored-by: Florian Diebold <[email protected]>
| * Fix type inference of binops on int/float variablesFlorian Diebold2019-01-253-1/+30
| | | | | | | | Fixes #651.
* | Merge #654bors[bot]2019-01-251-0/+5
|\ \ | |/ |/| | | | | | | | | | | 654: nicer behavior in case of bugs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * nicer behavior in case of bugsAleksey Kladov2019-01-251-0/+5
| | | | | | | | | | We should always reach a fixed point, but if we fail, let's fail loudly!
* | Merge #653bors[bot]2019-01-252-3/+56
|\ \ | | | | | | | | | | | | | | | | | | | | | 653: fix re-indent r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix re-indentAleksey Kladov2019-01-252-3/+56
| |/
* / print one size for symbolsAleksey Kladov2019-01-251-1/+1
|/
* Add docs to struct fieldsJeremy A. Kolb2019-01-256-8/+26
|
* remove dead codeAleksey Kladov2019-01-251-20/+5
|
* print one size for symbolsAleksey Kladov2019-01-252-15/+5
|
* Merge #647bors[bot]2019-01-252-38/+11
|\ | | | | | | | | | | | | | | 647: fix todo r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fix todoAleksey Kladov2019-01-252-38/+11
| |
* | Merge #646bors[bot]2019-01-254-1/+50
|\ \ | |/ |/| | | | | | | | | | | 646: Add module documentation support r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Add module documentation supportJeremy A. Kolb2019-01-254-1/+50
| |
* | Merge #645bors[bot]2019-01-257-46/+150
|\ \ | |/ |/| | | | | | | | | | | 645: WIP: support goto for fields. r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add ability to get strcut field sourceAleksey Kladov2019-01-257-37/+131
| |
| * remember where fields resolve to during inferenceAleksey Kladov2019-01-251-9/+19
| |
* | Merge #644bors[bot]2019-01-254-6/+108
|\ \ | |/ |/| | | | | | | | | | | 644: EnumVariant details for completion r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * EnumVariant details for completionJeremy A. Kolb2019-01-254-6/+108
| |
* | add gc requestAleksey Kladov2019-01-255-11/+37
|/
* more statsAleksey Kladov2019-01-252-33/+130
|
* better statsAleksey Kladov2019-01-251-2/+48
|
* Merge #639bors[bot]2019-01-2510-206/+100
|\ | | | | | | | | | | | | | | 639: Update salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use set methodsAleksey Kladov2019-01-253-54/+29
| |
| * :arrow_up salsaAleksey Kladov2019-01-258-152/+71
| |
* | reduce visibilityAleksey Kladov2019-01-251-10/+3
| |
* | use positional ids for fieldsAleksey Kladov2019-01-256-131/+144
| |
* | rename struct field -> struct field dataAleksey Kladov2019-01-251-6/+6
|/
* pack enum variants into arenaAleksey Kladov2019-01-257-74/+55
|
* switch to positional enum variantsAleksey Kladov2019-01-253-38/+44
|
* Merge #634bors[bot]2019-01-259-205/+186
|\ | | | | | | | | | | | | | | 634: rename def_id -> def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * drop obsolete fixmeAleksey Kladov2019-01-251-1/+0
| |
| * deglobifyAleksey Kladov2019-01-251-2/+1
| |
| * simplifyAleksey Kladov2019-01-255-14/+20
| |
| * remove useless wrapperAleksey Kladov2019-01-252-6/+1
| |
| * fix commentAleksey Kladov2019-01-251-3/+2
| |
| * rename def_id -> defAleksey Kladov2019-01-253-31/+17
| |
| * write path resolution code only onceAleksey Kladov2019-01-253-65/+15
| |
| * refactor import resolutionAleksey Kladov2019-01-254-99/+146
| | | | | | | | | | extract path resolution use enums instead of bools
* | Merge #630bors[bot]2019-01-255-59/+179
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 630: Fill in DocumentSymbol::detail r=matklad a=hban Closes: #516 I just pulled type text from the syntax node and "formatted" is bit. VS Code can't really handle multi-line symbol detail (it's will crop it when rendering), so that formatting will just collapse all white-space to singe space. It isn't pretty, but maybe there's a better way. Issue also mentions "need to be done for `NavigationTarget` to `SymbolInformation`", but `SymbolInformation` doesn't have detail field on it? Co-authored-by: Hrvoje Ban <[email protected]>
| * Fill in DocumentSymbol::detailHrvoje Ban2019-01-245-59/+179
| |
* | Merge #633bors[bot]2019-01-244-8/+523
|\ \ | | | | | | | | | | | | | | | | | | | | | 633: use ToOwned trait instead of inherent method r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | use ToOwned trait instead of inherent methodAleksey Kladov2019-01-244-8/+523
| | |
* | | Merge #623bors[bot]2019-01-2436-977/+939
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 623: WIP: module id is not def id r=matklad a=matklad This achieves two things: * makes module_tree & item_map per crate, not per source_root * begins the refactoring to remove universal `DefId` in favor of having separate ids for each kind of `Def`. Currently, only modules get a differnt ID though. Co-authored-by: Aleksey Kladov <[email protected]>
| * | move adt to adtAleksey Kladov2019-01-243-24/+23
| | |
| * | Kill DefIdAleksey Kladov2019-01-242-31/+11
| | |
| * | kill DefKindcAleksey Kladov2019-01-243-55/+15
| | |
| * | ModuleDef is Def-freeAleksey Kladov2019-01-244-12/+2
| | |
| * | Migrate trait & type to new idsAleksey Kladov2019-01-2413-186/+104
| | |
| * | generalizeAleksey Kladov2019-01-241-4/+17
| | |