Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix APIT some more | Florian Diebold | 2020-02-07 | 4 | -101/+115 |
| | |||||
* | Fix APIT | Florian Diebold | 2020-02-07 | 1 | -0/+2 |
| | |||||
* | Change Ty::Param to contain param ID | Florian Diebold | 2020-02-07 | 11 | -127/+136 |
| | |||||
* | WIP use params for APIT | Florian Diebold | 2020-02-07 | 3 | -1/+64 |
| | |||||
* | Fix assoc type selection | Florian Diebold | 2020-02-07 | 2 | -32/+43 |
| | |||||
* | Fix another test | Florian Diebold | 2020-02-07 | 2 | -7/+3 |
| | |||||
* | First stab at desugaring bounds for APIT | Florian Diebold | 2020-02-07 | 3 | -10/+56 |
| | |||||
* | Fix crash | Florian Diebold | 2020-02-07 | 1 | -4/+7 |
| | |||||
* | Fix enum constructors | Florian Diebold | 2020-02-07 | 3 | -11/+9 |
| | |||||
* | Fix printing of function types | Florian Diebold | 2020-02-07 | 7 | -72/+73 |
| | |||||
* | Lower impl trait to variables, move away from using placeholders where they ↵ | Florian Diebold | 2020-02-07 | 9 | -188/+220 |
| | | | | don't belong | ||||
* | wip lower impl trait to type args | Florian Diebold | 2020-02-07 | 8 | -14/+97 |
| | |||||
* | wip implement lowering mode | Florian Diebold | 2020-02-07 | 2 | -26/+34 |
| | |||||
* | Add impl trait lowering mode | Florian Diebold | 2020-02-07 | 6 | -40/+141 |
| | |||||
* | Introduce TyLoweringContext | Florian Diebold | 2020-02-07 | 6 | -152/+144 |
| | |||||
* | Merge #3049 | bors[bot] | 2020-02-07 | 28 | -107/+95 |
|\ | | | | | | | | | | | | | | | 3049: Introduce assists utils r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Introduce assists utils | Aleksey Kladov | 2020-02-07 | 5 | -26/+32 |
| | | |||||
| * | Name assist handlers | Aleksey Kladov | 2020-02-07 | 27 | -33/+17 |
| | | |||||
| * | 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 |
| |