aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* somewhat better nameAleksey Kladov2019-06-084-22/+29
|
* add a fixmeAleksey Kladov2019-06-082-2/+4
|
* one macro def should be enoughAleksey Kladov2019-06-086-33/+25
|
* make documenation a queryAleksey Kladov2019-06-083-66/+62
|
* make Docs handing more ideomaticAleksey Kladov2019-06-084-23/+13
|
* Move docs to dedicated moduleAleksey Kladov2019-06-082-69/+70
|
* fix: never type with bindingcsmoe2019-06-074-8/+42
| | | | Change-Id: I14e1bc628b9d2dfdb1f40de3d3707f4e872767f2
* Merge #1377bors[bot]2019-06-0614-644/+580
|\ | | | | | | | | | | | | | | 1377: Use inline snapshots in complete_keyword r=matklad a=sbihel Relates to #1127 Co-authored-by: Simon Bihel <[email protected]>
| * Use inline snapshots in complete_keywordSimon Bihel2019-06-0414-644/+580
| |
* | [#1083] Try block syntax: fix testsAndrey Tkachenko2019-06-066-45/+41
| |
* | [#1083] Try block syntaxAndrey Tkachenko2019-06-069-2/+125
| |
* | fix: clean up warningscsmoe2019-06-063-6/+6
| | | | | | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63
* | Merge #1374bors[bot]2019-06-0452-229/+224
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 1374: Implement `cargo lint` and fix some clippy errors r=alanhdu a=alanhdu This creates a `cargo lint` command that runs clippy with certain lints disabled. I've also gone ahead and fixed some of the lint errors, although there are many more still to go. cc #848 Co-authored-by: Alan Du <[email protected]>
| * | Allow clippy::redundant_pattern_matchingAlan Du2019-06-041-2/+3
| | |
| * | Fix clippy::iter_cloned_collectAlan Du2019-06-041-4/+2
| | |
| * | Fix clippy::option_map_or_noneAlan Du2019-06-041-1/+1
| | |
| * | Fix clippy::while_let_loopAlan Du2019-06-041-15/+11
| | |
| * | Fix clippy::or_fun_callAlan Du2019-06-0412-26/+29
| | |
| * | Fix clippy::identity_conversionAlan Du2019-06-0416-59/+49
| | |
| * | Fix clippy::single_char_patternAlan Du2019-06-044-9/+6
| | |
| * | Fix clippy::new_without_defaultAlan Du2019-06-041-0/+6
| | |
| * | Fix clippy::assign_op_patternAlan Du2019-06-041-1/+1
| | |
| * | Fix clippy::useless_formatAlan Du2019-06-041-2/+2
| | |
| * | Fix clippy::into_iter_on_refAlan Du2019-06-043-3/+3
| | |
| * | Fix clippy::len_zeroAlan Du2019-06-043-5/+5
| | |
| * | Fix clippy::unused_mutAlan Du2019-06-041-1/+1
| | |
| * | Fix clippy::unnecessary_mut_passedAlan Du2019-06-041-7/+2
| | |
| * | Fix clippy::ptr_argAlan Du2019-06-042-3/+3
| | |
| * | Fix clippy::if_same_then_elseAlan Du2019-06-041-0/+1
| | |
| * | Fix clippy::expect_fun_callAlan Du2019-06-041-1/+1
| | |
| * | Fix clippy::match_ref_patsAlan Du2019-06-042-9/+9
| | |
| * | Fix clippy::needless_returnAlan Du2019-06-041-1/+1
| | |
| * | Fix clippy::single_matchAlan Du2019-06-049-76/+51
| | |
| * | Fix clippy::clone_double_refAlan Du2019-06-041-1/+1
| | |
| * | Fix clippy::match_boolAlan Du2019-06-041-4/+2
| | |
| * | Allow clippy::map_cloneAlan Du2019-06-041-2/+6
| | | | | | | | | | | | We should turn it on after Iterator::copied stabilizes
| * | Allow clippy::needless_pass_by_valueAlan Du2019-06-041-1/+2
| | |
| * | Implement cargo lint to run clippyAlan Du2019-06-042-1/+31
| | |
* | | fix debug scopesAleksey Kladov2019-06-041-4/+4
|/ /
* / add couple of debug utilsAleksey Kladov2019-06-032-0/+31
|/
* Merge #1369bors[bot]2019-06-025-33/+61
|\ | | | | | | | | | | | | | | 1369: don't cache parses twice r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * don't cache parses twiceAleksey Kladov2019-06-025-33/+61
| | | | | | | | | | | | | | | | | | Before this commit, `Parse`s for original file ended up two times in salsa's db: first, when we parse original file, and second, when we parse macro or a file. Given that parse trees are the worst ofenders in terms of memory, it makes sense to make sure we store them only once.
* | Merge #1368bors[bot]2019-06-023-26/+28
|\ \ | |/ |/| | | | | | | | | | | | | | | 1368: Store referece instead of full token tree in tokenbuffer r=matklad a=edwin0cheng This PR try to minimize the memory allocation in converting `SyntaxNode` to `TokenTree` by using reference isnteead of full token tree in `TokenBuffer`. Note that the final goal is replace `TokenTree` with TokenBuffer such that there is no conversion between them. Co-authored-by: Edwin Cheng <[email protected]>
| * unnecessary paranthesisEdwin Cheng2019-06-021-1/+1
| |
| * Store referece in tokenbufferEdwin Cheng2019-06-023-26/+28
| |
* | collect macro queriesAleksey Kladov2019-06-021-0/+3
| |
* | add AstDatabaseAleksey Kladov2019-06-0217-98/+186
| |
* | collect types and bodiesAleksey Kladov2019-06-011-0/+4
| |
* | collect impl source mapsAleksey Kladov2019-06-013-11/+2
| |
* | don't cache ast_id_to_nodeAleksey Kladov2019-06-012-1/+1
| |