aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * move consts&statics to new idAleksey Kladov2019-01-248-47/+86
| |
| * remove boilerplateAleksey Kladov2019-01-246-92/+72
| |
| * generalize boilerplateAleksey Kladov2019-01-243-39/+51
| |
| * remove dead codeAleksey Kladov2019-01-241-11/+1
| |
| * removed untyped typabledefAleksey Kladov2019-01-241-26/+3
| |
| * adapt ide_api to the new APIAleksey Kladov2019-01-244-6/+12
| |
| * move enum variant to the new APIAleksey Kladov2019-01-246-142/+97
| |
| * remove useless aliasesAleksey Kladov2019-01-243-38/+14
| |
| * macro-generate fromsAleksey Kladov2019-01-244-78/+17
| |
| * adapt ide_api to the new APIAleksey Kladov2019-01-244-46/+45
| |
| * kill unused defsAleksey Kladov2019-01-242-7/+0
| |
| * migrate enums to new idAleksey Kladov2019-01-249-143/+191
| |
| * introduce EnumIdAleksey Kladov2019-01-241-0/+19
| |
| * new struct idAleksey Kladov2019-01-2412-106/+200
| |
| * add StructIdAleksey Kladov2019-01-241-0/+19
| |
| * update ide_api to new hirAleksey Kladov2019-01-245-10/+14
| |
| * remove DefKind::FunctionAleksey Kladov2019-01-242-6/+4
| |
| * Functions use new id schemeAleksey Kladov2019-01-2413-201/+297
| |
| * add FunctionIdAleksey Kladov2019-01-241-0/+23
| |
| * Change ids strategyAleksey Kladov2019-01-2426-431/+366
| | | | | | | | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* | Merge #631bors[bot]2019-01-246-26/+241
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 631: Support universal function call syntax in function calls r=matklad a=DJMcNab Fix #596 Co-authored-by: DJMcNab <[email protected]> Co-authored-by: Daniel McNab <[email protected]>
| * | ReformatDJMcNab2019-01-241-15/+16
| | |
| * | Apply suggestions from code reviewDaniel McNab2019-01-241-2/+1
| | | | | | | | | Co-Authored-By: DJMcNab <[email protected]>
| * | Dedupe PATH_FIRST in ATOM_EXPR_FIRSTDJMcNab2019-01-241-7/+2
| | |
| * | Support universal function call syntax in function callsDJMcNab2019-01-246-6/+226
|/ /
* | Merge #627bors[bot]2019-01-242-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 627: Use stable toolchain r=matklad a=kjeremy Fixes #622 Co-authored-by: Jeremy Kolb <[email protected]>
| * | Update stable for travisJeremy Kolb2019-01-241-1/+1
| | |
| * | Use stable toolchainJeremy Kolb2019-01-241-1/+1
| | |
* | | Merge #628bors[bot]2019-01-242-1/+55
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 628: Display type when completing tuples r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | Display type when completing tuplesJeremy Kolb2019-01-242-1/+55
|/ /
* | Merge #625bors[bot]2019-01-241-4/+4
|\ \ | |/ |/| | | | | | | | | | | 625: minor rename r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * minor renameAleksey Kladov2019-01-241-4/+4
|/
* Merge #624bors[bot]2019-01-247-74/+45
|\ | | | | | | | | | | | | | | 624: encapsulate hir locations r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * encapsulate hir locationsAleksey Kladov2019-01-247-74/+45
|/
* Merge #621bors[bot]2019-01-249-43/+138
|\ | | | | | | | | | | | | | | | | 621: Completion docs for code model r=kjeremy a=kjeremy Adds a way to access documentation through the code model and exposes it to completions. Also allows us to document enum variants. Co-authored-by: Jeremy A. Kolb <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>
| * Add a commentJeremy Kolb2019-01-241-0/+1
| |
| * Fix snapJeremy A. Kolb2019-01-232-6/+12
| |
| * Add a bunch of new documentation to completionsJeremy A. Kolb2019-01-233-20/+54
| |
| * Add way of getting docs from the code model and use for completionJeremy A. Kolb2019-01-235-20/+72
| |
| * Make EnumVariant a DocCommentsOwnerJeremy A. Kolb2019-01-233-2/+4
|/
*-. Merge #617 #618bors[bot]2019-01-233-3/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 617: Use npm ci instead of install r=matklad a=h-michael fix #422 `npm install` is always recreate `package-lock.json`. So we might use `npm ci` with `install-code` https://docs.npmjs.com/cli/ci.html#description 618: Add install-lsp subcommand r=matklad a=h-michael related https://github.com/rust-analyzer/rust-analyzer/pull/617#issuecomment-456914650 Co-authored-by: Hirokazu Hata <[email protected]>