aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| | * CleanupAleksey Kladov2020-02-072-4/+11
| | |
| | * CleanupAleksey Kladov2020-02-071-3/+4
| | |
| | * SimplifyAleksey Kladov2020-02-072-42/+29
| | |
| * | Merge #3048bors[bot]2020-02-077-71/+45
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | 3048: Remove irrelevant distinction r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| | * RenameAleksey Kladov2020-02-076-23/+23
| | |
| | * Remove irrelevant distinctionAleksey Kladov2020-02-076-48/+22
| | |
| * | Merge #3047bors[bot]2020-02-075-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 Lauridsen2020-02-075-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 #3040bors[bot]2020-02-0719-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 tweaksToby Dimmick2020-02-073-21/+18
| | | |
| | * | Closure params testToby Dimmick2020-02-063-0/+77
| | | |
| | * | rustfmtToby Dimmick2020-02-061-2/+2
| | | |
| | * | Rework value parameter parsingToby Dimmick2020-02-0617-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 #3044bors[bot]2020-02-071-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 Lauridsen2020-02-071-4/+1
| | | | |
| | * | | Don't crash when recieving unkown file for cargo diagnostic.Emil Lauridsen2020-02-071-6/+10
| | | |/ | | |/|
| * | | Cleanup early return assistAleksey Kladov2020-02-072-11/+29
| | | |
| * | | Generalize invert_if to just always workAleksey Kladov2020-02-073-18/+35
| |/ /
| * / A tiny bit more consistent APIAleksey Kladov2020-02-062-2/+2
| |/
| * Minor renameAleksey Kladov2020-02-063-9/+11
| |
| * Remove the leftovers after ImportLocator removalKirill Bulatov2020-02-063-5/+4
| |
| * Doctest autoimportAleksey Kladov2020-02-063-10/+8
| |
| * Fix testsAleksey Kladov2020-02-062-13/+24
| |
| * Mostly remove ImoportLocator infraAleksey Kladov2020-02-063-178/+21
| |
| * Assists are not genericAleksey Kladov2020-02-0627-84/+59
| |
| * Remove assists TestDBAleksey Kladov2020-02-062-47/+0
| |
| * Start switching assists to a root databaseAleksey Kladov2020-02-063-39/+42
| |
| * Make assists use ImportsLocator directlyAleksey Kladov2020-02-065-36/+33
| |
| * Move imports locator to ide_dbAleksey Kladov2020-02-064-11/+11
| |
| * Add a fixme noteAleksey Kladov2020-02-061-0/+2
| |
| * Move NameKind upAleksey Kladov2020-02-067-253/+252
| |
| * SimplifyAleksey Kladov2020-02-061-3/+4
| |
| * Tweak goto parent moduleAleksey Kladov2020-02-062-1/+37
| |
| * Merge #3029bors[bot]2020-02-0638-320/+397
| |\ | | | | | | | | | | | | | | | | | | | | | 3029: Docs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| | * DocsAleksey Kladov2020-02-065-75/+84
| | |
| | * CleanupAleksey Kladov2020-02-065-79/+81
| | |
| | * cleanup importsAleksey Kladov2020-02-0631-100/+103
| | |
| | * Move to a crateAleksey Kladov2020-02-0610-31/+80
| | |
| | * Move change to ide-dbAleksey Kladov2020-02-063-5/+5
| | |
| | * Fix test importsAleksey Kladov2020-02-061-2/+4
| | |
| | * Move QueryAleksey Kladov2020-02-062-41/+42
| | |
| | * Move symbol_indexAleksey Kladov2020-02-067-12/+16
| | |
| | * Move FeatureFlagsAleksey Kladov2020-02-063-4/+3
| | |
| | * Move line_indexAleksey Kladov2020-02-064-7/+12
| | |
| | * Move ide-dbAleksey Kladov2020-02-062-132/+132
| | |
| | * Start ide_dbAleksey Kladov2020-02-062-0/+3
| | |
| * | Add profiling around add_impl_membersAleksey Kladov2020-02-062-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::makeAleksey Kladov2020-02-054-32/+55
| |
| * Merge #3019bors[bot]2020-02-051-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 armsAleksey Kladov2020-02-051-4/+17
| | |