Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: never type with binding | csmoe | 2019-06-07 | 4 | -8/+42 |
| | | | | Change-Id: I14e1bc628b9d2dfdb1f40de3d3707f4e872767f2 | ||||
* | Merge #1377 | bors[bot] | 2019-06-06 | 14 | -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_keyword | Simon Bihel | 2019-06-04 | 14 | -644/+580 |
| | | |||||
* | | [#1083] Try block syntax: fix tests | Andrey Tkachenko | 2019-06-06 | 6 | -45/+41 |
| | | |||||
* | | [#1083] Try block syntax | Andrey Tkachenko | 2019-06-06 | 9 | -2/+125 |
| | | |||||
* | | fix: clean up warnings | csmoe | 2019-06-06 | 3 | -6/+6 |
| | | | | | | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63 | ||||
* | | Merge #1374 | bors[bot] | 2019-06-04 | 52 | -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_matching | Alan Du | 2019-06-04 | 1 | -2/+3 |
| | | | |||||
| * | | Fix clippy::iter_cloned_collect | Alan Du | 2019-06-04 | 1 | -4/+2 |
| | | | |||||
| * | | Fix clippy::option_map_or_none | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fix clippy::while_let_loop | Alan Du | 2019-06-04 | 1 | -15/+11 |
| | | | |||||
| * | | Fix clippy::or_fun_call | Alan Du | 2019-06-04 | 12 | -26/+29 |
| | | | |||||
| * | | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 16 | -59/+49 |
| | | | |||||
| * | | Fix clippy::single_char_pattern | Alan Du | 2019-06-04 | 4 | -9/+6 |
| | | | |||||
| * | | Fix clippy::new_without_default | Alan Du | 2019-06-04 | 1 | -0/+6 |
| | | | |||||
| * | | Fix clippy::assign_op_pattern | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fix clippy::useless_format | Alan Du | 2019-06-04 | 1 | -2/+2 |
| | | | |||||
| * | | Fix clippy::into_iter_on_ref | Alan Du | 2019-06-04 | 3 | -3/+3 |
| | | | |||||
| * | | Fix clippy::len_zero | Alan Du | 2019-06-04 | 3 | -5/+5 |
| | | | |||||
| * | | Fix clippy::unused_mut | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fix clippy::unnecessary_mut_passed | Alan Du | 2019-06-04 | 1 | -7/+2 |
| | | | |||||
| * | | Fix clippy::ptr_arg | Alan Du | 2019-06-04 | 2 | -3/+3 |
| | | | |||||
| * | | Fix clippy::if_same_then_else | Alan Du | 2019-06-04 | 1 | -0/+1 |
| | | | |||||
| * | | Fix clippy::expect_fun_call | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fix clippy::match_ref_pats | Alan Du | 2019-06-04 | 2 | -9/+9 |
| | | | |||||
| * | | Fix clippy::needless_return | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fix clippy::single_match | Alan Du | 2019-06-04 | 9 | -76/+51 |
| | | | |||||
| * | | Fix clippy::clone_double_ref | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fix clippy::match_bool | Alan Du | 2019-06-04 | 1 | -4/+2 |
| | | | |||||
| * | | Allow clippy::map_clone | Alan Du | 2019-06-04 | 1 | -2/+6 |
| | | | | | | | | | | | | We should turn it on after Iterator::copied stabilizes | ||||
| * | | Allow clippy::needless_pass_by_value | Alan Du | 2019-06-04 | 1 | -1/+2 |
| | | | |||||
| * | | Implement cargo lint to run clippy | Alan Du | 2019-06-04 | 2 | -1/+31 |
| | | | |||||
* | | | fix debug scopes | Aleksey Kladov | 2019-06-04 | 1 | -4/+4 |
|/ / | |||||
* / | add couple of debug utils | Aleksey Kladov | 2019-06-03 | 2 | -0/+31 |
|/ | |||||
* | Merge #1369 | bors[bot] | 2019-06-02 | 5 | -33/+61 |
|\ | | | | | | | | | | | | | | | 1369: don't cache parses twice r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | don't cache parses twice | Aleksey Kladov | 2019-06-02 | 5 | -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 #1368 | bors[bot] | 2019-06-02 | 3 | -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 paranthesis | Edwin Cheng | 2019-06-02 | 1 | -1/+1 |
| | | |||||
| * | Store referece in tokenbuffer | Edwin Cheng | 2019-06-02 | 3 | -26/+28 |
| | | |||||
* | | collect macro queries | Aleksey Kladov | 2019-06-02 | 1 | -0/+3 |
| | | |||||
* | | add AstDatabase | Aleksey Kladov | 2019-06-02 | 17 | -98/+186 |
| | | |||||
* | | collect types and bodies | Aleksey Kladov | 2019-06-01 | 1 | -0/+4 |
| | | |||||
* | | collect impl source maps | Aleksey Kladov | 2019-06-01 | 3 | -11/+2 |
| | | |||||
* | | don't cache ast_id_to_node | Aleksey Kladov | 2019-06-01 | 2 | -1/+1 |
| | | |||||
* | | show macro expanded trees in the stats as well | Aleksey Kladov | 2019-06-01 | 1 | -7/+8 |
|/ | |||||
* | Merge #1360 | bors[bot] | 2019-06-01 | 6 | -9/+55 |
|\ | | | | | | | | | | | | | | | | | | | 1360: Improve goto definition for MBE r=matklad a=edwin0cheng This PR improve the macro resolution for goto definition and expression macro invocation by using proper path resolution for external macros. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Improve goto definition for MBE | Edwin Cheng | 2019-06-01 | 6 | -9/+55 |
| | | |||||
* | | Merge #1359 | bors[bot] | 2019-06-01 | 2 | -3/+5 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1359: don't poison mutex around chalk r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | don't poison mutex around chalk | Aleksey Kladov | 2019-06-01 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We use panics for cancellation, so we could trigger panic while holding the solver. std::sync::Mutex will be poisoned as a result, which and all further attempts to use solver (from other threads) will panic as well. This commit switches to parking_lot::Mutex which just unlocks on panic. | ||||
* | | | apply profile filter to top-level entries only | Aleksey Kladov | 2019-06-01 | 1 | -7/+6 |
| | | |