aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* modernize some codeAleksey Kladov2018-12-063-18/+7
|
* Merge #256bors[bot]2018-12-0611-1/+467
|\ | | | | | | | | | | | | | | 256: Improve/add use_item documentation r=matklad a=DJMcNab Adds some documentation to use_item explaining all code paths (use imports are hard, especially with the ongoing discussion of anchored v. uniform paths - see https://github.com/rust-lang/rust/issues/55618 for what appears to be the latest developments) Co-authored-by: DJMcNab <[email protected]>
| * Update use path testDJMcNab2018-12-052-74/+2
| |
| * Improve/add the use_item documentationDJMcNab2018-12-0511-1/+539
| |
* | Merge #258bors[bot]2018-12-062-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 258: :arrow_up: 1.31.0 :tada: r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: 1.31.0 :tada:Aleksey Kladov2018-12-062-2/+2
|/ /
* | Merge #253bors[bot]2018-12-051-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 253: Fix diagnostic fixes showing up everywhere r=matklad a=flodiebold The LSP code action request always returned the fixes for all diagnostics anywhere in the file, because of a shadowed variable. There's no test yet; I wasn't sure where to add it. I tried adding one in `heavy_tests`, but that's a bit uncomfortable because the code action response contains the (random) file paths. I could make it work, but wanted to ask beforehand what you think. Co-authored-by: Florian Diebold <[email protected]>
| * | Fix diagnostic fixes showing up everywhereFlorian Diebold2018-12-021-2/+2
| | | | | | | | | | | | | | | The LSP code action request always returned the fixes for all diagnostics anywhere in the file, because of a shadowed variable.
* | | Merge #257bors[bot]2018-12-051-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 257: Fix a copy and pasting typo in lexer/ptr.rs r=matklad a=DJMcNab Co-authored-by: DJMcNab <[email protected]>
| * | Fix a copy and pasting typoDJMcNab2018-12-051-1/+1
|/ /
* | First step towards crate depsAleksey Kladov2018-12-051-8/+35
| |
* | make stuff privateAleksey Kladov2018-12-051-1/+1
| |
* | Merge #255bors[bot]2018-12-057-140/+125
|\ \ | | | | | | | | | | | | | | | | | | | | | 255: Binders r=matklad a=matklad Binding sources to hir is a fuzzy operation, so let's move it to a special enclave in the source code. Co-authored-by: Aleksey Kladov <[email protected]>
| * | make stuff privateAleksey Kladov2018-12-052-13/+8
| | |
| * | move fuzzy source binding to a separete modeAleksey Kladov2018-12-057-131/+121
|/ /
* | restore index-based gotodefAleksey Kladov2018-12-052-5/+21
| |
* | Merge #254bors[bot]2018-12-0412-160/+186
|\ \ | | | | | | | | | | | | | | | | | | | | | 254: Defids r=matklad a=matklad Fleshing out DefIds some more Co-authored-by: Aleksey Kladov <[email protected]>
| * | minorAleksey Kladov2018-12-042-7/+17
| | |
| * | Add functions to DefIdAleksey Kladov2018-12-0410-83/+90
| | |
| * | module-scoped deflocAleksey Kladov2018-12-043-24/+43
| | |
| * | ModuleSource is ItemSourceAleksey Kladov2018-12-044-51/+40
| | |
| * | include file itself in SourceFileItemsAleksey Kladov2018-12-041-1/+2
|/ /
* | Merge #250bors[bot]2018-12-022-5/+11
|\ \ | |/ |/| | | | | | | | | | | | | 250: Improve the suggestion for test functions r=DJMcNab a=DJMcNab I haven't fully updated the previous commented out test - I don't know why it was commented out so some clarification would be welcome. Co-authored-by: Daniel McNab <[email protected]> Co-authored-by: DJMcNab <[email protected]>
| * Fix formattingDJMcNab2018-12-021-4/+4
| |
| * Format completion text properlyDaniel McNab2018-11-281-2/+5
| |
| * Add tfn lookup and remove test prefixDaniel McNab2018-11-282-3/+3
| |
| * Change the body and name of the test function completionDaniel McNab2018-11-282-4/+7
| |
* | Merge #252bors[bot]2018-12-022-7/+44
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 252: Improve 'introduce variable' r=matklad a=flodiebold - make it possible to extract a prefix of an expression statement (e.g. `<|>foo.bar()<|>.baz()`) - don't turn the last expression in a block into a let statement - also fix a few typos Co-authored-by: Florian Diebold <[email protected]>
| * | Improve 'introduce variable'Florian Diebold2018-12-022-7/+44
| | | | | | | | | | | | | | | | | | - make it possible to extract a prefix of an expression statement (e.g. <|>foo.bar()<|>.baz()) - don't turn the last expression in a block into a let statement
* | | Put derive backAleksey Kladov2018-12-021-24/+1
| | | | | | | | | | | | It is used in this file
* | | Add `derive` after doc commentsAleksey Kladov2018-12-021-5/+36
| | |
* | | Merge #251bors[bot]2018-11-305-16/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 251: Clippy lints r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * | | Put map backJeremy A. Kolb2018-11-301-1/+1
| | | |
| * | | Clippy lintsJeremy A. Kolb2018-11-295-17/+14
|/ / /
* | | switch to released id-arenaAleksey Kladov2018-11-285-19/+8
| | |
* | | Merge #248bors[bot]2018-11-289-196/+338
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 248: Hir tests r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | | drop commentAleksey Kladov2018-11-281-1/+0
| | | |
| * | | remove useless test hooksAleksey Kladov2018-11-281-43/+0
| | | |
| * | | make a bunch of stuff privateAleksey Kladov2018-11-282-11/+9
| | | |
| * | | Move hir tests to hitAleksey Kladov2018-11-287-142/+330
|/ / /
* | | Merge #247bors[bot]2018-11-2830-1060/+1249
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 247: Hir r=matklad a=matklad This doesn't achive anything new, just a big refactoring. The main change is that Descriptors are now called `hir`, and live in a separate crate. Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Move hir to a separate crateAleksey Kladov2018-11-2826-2432/+202
| | | |
| * | | introduce hir crateAleksey Kladov2018-11-2814-17/+2270
| | | |
| * | | move ids to HIRAleksey Kladov2018-11-2810-80/+71
| | | |
| * | | move db basics to ra_dbAleksey Kladov2018-11-2822-293/+352
| | | | | | | | | | | | | | | | This should allow to move hir to a separate crate
| * | | generalize location internerAleksey Kladov2018-11-278-50/+100
| | | |
| * | | rename file_syntax -> source_fileAleksey Kladov2018-11-276-18/+18
| | | |
| * | | introduce SymbolsDatabaseAleksey Kladov2018-11-274-27/+40
| | | |
| * | | remove syntax ptrAleksey Kladov2018-11-272-26/+1
| | | |
| * | | Use ItemPtr for idAleksey Kladov2018-11-274-18/+12
| | | |