Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Cleanups | Aleksey Kladov | 2020-02-07 | 1 | -2/+5 | |
| | | | ||||||
| * | | Cleanup imports | Aleksey Kladov | 2020-02-07 | 1 | -1/+1 | |
| | | | ||||||
| * | | Cleanup | Aleksey Kladov | 2020-02-07 | 2 | -4/+11 | |
| | | | ||||||
| * | | Cleanup | Aleksey Kladov | 2020-02-07 | 1 | -3/+4 | |
| | | | ||||||
| * | | Simplify | Aleksey Kladov | 2020-02-07 | 2 | -42/+29 | |
| | | | ||||||
* | | | Merge #3048 | bors[bot] | 2020-02-07 | 7 | -71/+45 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 3048: Remove irrelevant distinction r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Rename | Aleksey Kladov | 2020-02-07 | 6 | -23/+23 | |
| | | | ||||||
| * | | Remove irrelevant distinction | Aleksey Kladov | 2020-02-07 | 6 | -48/+22 | |
| | | | ||||||
* | | | Merge #3047 | bors[bot] | 2020-02-07 | 5 | -20/+20 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3047: Update async unsafe fn ordering in parser r=matklad a=kiljacken As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025 Co-authored-by: Emil Lauridsen <[email protected]> | |||||
| * | | | Update async unsafe fn ordering. | Emil Lauridsen | 2020-02-07 | 5 | -20/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025 | |||||
* | | | | 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 | |
| | |