Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge #3040 | bors[bot] | 2020-02-07 | 19 | -259/+686 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3040: Rework value parameter parsing r=matklad a=tobz1000 Fixes #2847. - `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident __Question__: The pre-existing test `param_list_opt_patterns` has been kept as-is, although the name no longer makes sense (it's testing `Fn__(...)` params, which aren't allowed patterns any more). What would be best to do about this? Co-authored-by: Toby Dimmick <[email protected]> | |||||
| * | | PR tweaks | Toby Dimmick | 2020-02-07 | 3 | -21/+18 | |
| | | | ||||||
| * | | Closure params test | Toby Dimmick | 2020-02-06 | 3 | -0/+77 | |
| | | | ||||||
| * | | rustfmt | Toby Dimmick | 2020-02-06 | 1 | -2/+2 | |
| | | | ||||||
| * | | Rework value parameter parsing | Toby Dimmick | 2020-02-06 | 17 | -255/+608 | |
| | | | | | | | | | | | | | | | | | | | | | - `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident | |||||
* | | | Merge #3044 | bors[bot] | 2020-02-07 | 1 | -6/+7 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3044: Don't crash when recieving unkown file for cargo diagnostic. r=matklad a=kiljacken Fixes #3014 Co-authored-by: Emil Lauridsen <[email protected]> | |||||
| * | | | to_string_lossy() -> display() | Emil Lauridsen | 2020-02-07 | 1 | -4/+1 | |
| | | | | ||||||
| * | | | Don't crash when recieving unkown file for cargo diagnostic. | Emil Lauridsen | 2020-02-07 | 1 | -6/+10 | |
| | |/ | |/| | ||||||
* | | | Cleanup early return assist | Aleksey Kladov | 2020-02-07 | 2 | -11/+29 | |
| | | | ||||||
* | | | Generalize invert_if to just always work | Aleksey Kladov | 2020-02-07 | 3 | -18/+35 | |
|/ / | ||||||
* / | A tiny bit more consistent API | Aleksey Kladov | 2020-02-06 | 2 | -2/+2 | |
|/ | ||||||
* | Minor rename | Aleksey Kladov | 2020-02-06 | 3 | -9/+11 | |
| | ||||||
* | Remove the leftovers after ImportLocator removal | Kirill Bulatov | 2020-02-06 | 3 | -5/+4 | |
| | ||||||
* | Doctest autoimport | Aleksey Kladov | 2020-02-06 | 3 | -10/+8 | |
| | ||||||
* | Fix tests | Aleksey Kladov | 2020-02-06 | 2 | -13/+24 | |
| | ||||||
* | Mostly remove ImoportLocator infra | Aleksey Kladov | 2020-02-06 | 3 | -178/+21 | |
| | ||||||
* | Assists are not generic | Aleksey Kladov | 2020-02-06 | 27 | -84/+59 | |
| | ||||||
* | Remove assists TestDB | Aleksey Kladov | 2020-02-06 | 2 | -47/+0 | |
| | ||||||
* | Start switching assists to a root database | Aleksey Kladov | 2020-02-06 | 3 | -39/+42 | |
| | ||||||
* | Make assists use ImportsLocator directly | Aleksey Kladov | 2020-02-06 | 5 | -36/+33 | |
| | ||||||
* | Move imports locator to ide_db | Aleksey Kladov | 2020-02-06 | 4 | -11/+11 | |
| | ||||||
* | Add a fixme note | Aleksey Kladov | 2020-02-06 | 1 | -0/+2 | |
| | ||||||
* | Move NameKind up | Aleksey Kladov | 2020-02-06 | 7 | -253/+252 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-02-06 | 1 | -3/+4 | |
| | ||||||
* | Tweak goto parent module | Aleksey Kladov | 2020-02-06 | 2 | -1/+37 | |
| | ||||||
* | Merge #3029 | bors[bot] | 2020-02-06 | 38 | -320/+397 | |
|\ | | | | | | | | | | | | | | | 3029: Docs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Docs | Aleksey Kladov | 2020-02-06 | 5 | -75/+84 | |
| | | ||||||
| * | Cleanup | Aleksey Kladov | 2020-02-06 | 5 | -79/+81 | |
| | | ||||||
| * | cleanup imports | Aleksey Kladov | 2020-02-06 | 31 | -100/+103 | |
| | | ||||||
| * | Move to a crate | Aleksey Kladov | 2020-02-06 | 10 | -31/+80 | |
| | | ||||||
| * | Move change to ide-db | Aleksey Kladov | 2020-02-06 | 3 | -5/+5 | |
| | | ||||||
| * | Fix test imports | Aleksey Kladov | 2020-02-06 | 1 | -2/+4 | |
| | | ||||||
| * | Move Query | Aleksey Kladov | 2020-02-06 | 2 | -41/+42 | |
| | | ||||||
| * | Move symbol_index | Aleksey Kladov | 2020-02-06 | 7 | -12/+16 | |
| | | ||||||
| * | Move FeatureFlags | Aleksey Kladov | 2020-02-06 | 3 | -4/+3 | |
| | | ||||||
| * | Move line_index | Aleksey Kladov | 2020-02-06 | 4 | -7/+12 | |
| | | ||||||
| * | Move ide-db | Aleksey Kladov | 2020-02-06 | 2 | -132/+132 | |
| | | ||||||
| * | Start ide_db | Aleksey Kladov | 2020-02-06 | 2 | -0/+3 | |
| | | ||||||
* | | Add profiling around add_impl_members | Aleksey Kladov | 2020-02-06 | 2 | -0/+2 | |
|/ | | | | | | | | | This intention is pretty slow for `impl Interator`, because it has a ton of default methods which need to be substituted. The proper fix here is to not compute the actual edit until the user triggers the action, but that's awkward to do in the LSP right now, so let's just put a profiling code for now. | |||||
* | Refactor if-let -> match assist to use ast::make | Aleksey Kladov | 2020-02-05 | 4 | -32/+55 | |
| | ||||||
* | Merge #3019 | bors[bot] | 2020-02-05 | 1 | -36/+91 | |
|\ | | | | | | | | | | | | | | | 3019: Better cursor placement when merging arms r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Better cursor placement when merging arms | Aleksey Kladov | 2020-02-05 | 1 | -4/+17 | |
| | | ||||||
| * | Merge match arms works with many arms | Aleksey Kladov | 2020-02-05 | 1 | -29/+70 | |
| | | ||||||
| * | Cleanup | Aleksey Kladov | 2020-02-05 | 1 | -11/+12 | |
| | | ||||||
* | | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 5 | -32/+64 | |
| | | ||||||
* | | Normalize dashes in crate names | Kirill Bulatov | 2020-02-05 | 1 | -8/+33 | |
|/ | ||||||
* | Merge #2948 | bors[bot] | 2020-02-04 | 1 | -6/+48 | |
|\ | | | | | | | | | | | | | | | 2948: Allow add_explicit_type to replace a placeholder type r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | Allow add_explicit_type to replace a placeholder type | Laurențiu Nicola | 2020-02-03 | 1 | -6/+48 | |
| | | ||||||
* | | minor, if let else -> match | Aleksey Kladov | 2020-02-04 | 1 | -6/+3 | |
| | | ||||||
* | | Make sure that newly created nodes are the root of the tree | Aleksey Kladov | 2020-02-04 | 1 | -2/+11 | |
| | |