Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add two more tests | Florian Diebold | 2020-02-07 | 1 | -0/+51 |
| | |||||
* | Fix some TODOs | Florian Diebold | 2020-02-07 | 3 | -11/+17 |
| | |||||
* | Fix add_new assist (kind of) | Florian Diebold | 2020-02-07 | 1 | -5/+10 |
| | |||||
* | Don't print implicit type args from impl Trait | Florian Diebold | 2020-02-07 | 2 | -14/+21 |
| | |||||
* | Deal better with implicit type parameters and argument lists | Florian Diebold | 2020-02-07 | 4 | -26/+138 |
| | |||||
* | Formatting | Florian Diebold | 2020-02-07 | 12 | -53/+98 |
| | |||||
* | Clean up RPIT a bit | Florian Diebold | 2020-02-07 | 5 | -41/+14 |
| | |||||
* | Fix compilation of other crates | Florian Diebold | 2020-02-07 | 3 | -14/+25 |
| | |||||
* | Use variables in predicates as well | Florian Diebold | 2020-02-07 | 5 | -63/+52 |
| | |||||
* | Comment fixes / todos | Florian Diebold | 2020-02-07 | 3 | -6/+8 |
| | |||||
* | 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 | 30 | -109/+97 |
|\ | | | | | | | | | | | | | | | 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 | 29 | -35/+19 |
| | | |||||
| * | 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 |
| | |/ | |/| | |||||
* | | | Merge #3045 | bors[bot] | 2020-02-07 | 4 | -29/+64 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 3045: Cleanup early return assist r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | 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 |
|/ / | |||||
* | | Merge #3042 | bors[bot] | 2020-02-06 | 2 | -2/+2 |
|\ \ | |/ |/| | | | | | | | | | | | 3042: A tiny bit more consistent API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> |