aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge #5149bors[bot]2020-07-018-71/+140
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5149: Implement Chalk variable kinds r=flodiebold a=flodiebold This means we need to keep track of the kinds (general/int/float) of variables in `Canonical`, which requires some more ceremony. (It also exposes some places where we're not really dealing with canonicalization correctly -- another thing to be cleaned up when we switch to using Chalk's types directly.) Should fix the last remaining issue of #2534. Co-authored-by: Florian Diebold <[email protected]>
| * | | | Implement Chalk variable kindsFlorian Diebold2020-07-018-71/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means we need to keep track of the kinds (general/int/float) of variables in `Canonical`, which requires some more ceremony. (It also exposes some places where we're not really dealing with canonicalization correctly -- another thing to be cleaned up when we switch to using Chalk's types directly.) Should fix the last remaining issue of #2534.
* | | | | Merge #5179bors[bot]2020-07-012-1/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5179: ItemTree: Lower fields despite invalid type r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/5147 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | | | | ItemTree: Lower fields despite invalid typeJonas Schievink2020-07-012-1/+25
| | | | | |
* | | | | | Merge #5174bors[bot]2020-07-016-71/+71
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5174: Colorize more test fixtures r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | | Colorize more test fixturesLaurențiu Nicola2020-07-016-71/+71
| | | | | |
* | | | | | Merge #5175bors[bot]2020-07-018-128/+148
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5175: More memory-efficient impl collection r=matklad a=jonas-schievink This saves roughly 90 MB in `ImplsFromDepsQuery`, which used to copy the list of all impls from libcore into *every* crate in the graph. It also stops collecting inherent impls from dependencies entirely, as those can only be located within the crate defining the self type. Co-authored-by: Jonas Schievink <[email protected]>
| * | | | | | Split `CrateImplDefs` in inherent and trait implsJonas Schievink2020-07-017-118/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the intention of inherent vs. trait impls somewhat more clear and also fixes (?) an issue where trait impls with an unresolved trait were added as inherent impls instead (hence the test changes).
| * | | | | | Don't recursively call `impls_from_deps`Jonas Schievink2020-07-011-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It creates a big map and duplicates lots of impls that are then left lying around
| * | | | | | Add a transitive deps iterator to `CrateGraph`Jonas Schievink2020-07-011-0/+17
| | | | | | |
* | | | | | | Merge #5178bors[bot]2020-07-014-318/+329
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5178: Fold multiline calls r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | Fold multiline callsAleksey Kladov2020-07-013-105/+114
| | | | | | |
| * | | | | | Update file structure testsAleksey Kladov2020-07-011-213/+215
| | | | | | |
* | | | | | | Merge #5176bors[bot]2020-07-011-126/+115
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5176: Update expand macro tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | Update expand macro testsAleksey Kladov2020-07-011-126/+115
|/ / / / / /
* | | | | | Merge #5167bors[bot]2020-07-017-39/+39
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5167: Reuse Semantics instances r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | | | Reuse Semantics instancesLaurențiu Nicola2020-07-017-39/+39
| | | | | | |
* | | | | | | Merge #5173bors[bot]2020-07-013-5/+8
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5173: Automatically reload project on config change r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | Automatically reload project on config changeAleksey Kladov2020-07-013-5/+8
| | | | | | |
* | | | | | | Merge #5171bors[bot]2020-07-012-6/+8
|\| | | | | | | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5171: Better account for project reload r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Better account for project reloadAleksey Kladov2020-07-012-6/+8
| | | | | |
* | | | | | Merge #5169bors[bot]2020-07-017-16/+16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5169: Add reload workspace command r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Add reload workspace commandAleksey Kladov2020-07-017-16/+16
| |/ / / /
* | | | | Merge #5168bors[bot]2020-07-011-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5168: Log flycheck command r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Log flycheck commandAleksey Kladov2020-07-011-0/+1
|/ / / /
* | | | Merge #5110bors[bot]2020-07-012-2/+39
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5110: Use the selection range when resolving call hierarchy items r=kjeremy a=kjeremy Add a test in call_hierarchy that already passed and a corresponding heavy test to test the LSP requests which exposed the issue. Fixes #5103 Co-authored-by: Jeremy Kolb <[email protected]>
| * | | | Use the selection range when resolving call hierarchy itemsJeremy Kolb2020-07-012-2/+39
|/ / / / | | | | | | | | | | | | | | | | | | | | Add a test in call_hierarchy that already passed Fixes #5103
* | | | Merge #5162bors[bot]2020-07-012-57/+204
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5162: Try to reduce Semantics monomorphisations r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Make less code genericLaurențiu Nicola2020-07-011-69/+47
| | | | |
| * | | | Try to reduce Semantics monomorphisationsLaurențiu Nicola2020-07-012-24/+193
| | | | |
* | | | | Merge #5164bors[bot]2020-07-011-16/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5164: Dont show empty progress for empty workspaces r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Dont show empty progress for empty workspacesAleksey Kladov2020-07-011-16/+18
|/ / / / /
* | | | | Merge #5163bors[bot]2020-07-013-104/+106
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5163: Refactor parser tests a bit r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Unify magic env var nameAleksey Kladov2020-07-012-3/+3
| | | | | |
| * | | | | Move parser specific tests utils to parser testsAleksey Kladov2020-07-012-102/+104
|/ / / / /
* | | | | Merge #5159bors[bot]2020-07-019-34/+87
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5159: Don't fail expect tests in rewrite mode r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Move test data to test_data directoryAleksey Kladov2020-07-018-7/+7
| | | | |
| * | | | Add file support to expectAleksey Kladov2020-07-013-21/+63
| | | | |
| * | | | CleanupAleksey Kladov2020-07-011-13/+23
| | | | |
| * | | | Don't fail tests when updating snapshotAleksey Kladov2020-07-011-8/+9
| | | | |
* | | | | Merge #5160bors[bot]2020-07-012-52/+48
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5160: Use the existing Semantics in auto_import r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Use the existing Semantics in auto_importLaurențiu Nicola2020-07-012-52/+48
|/ / / /
* | | | Merge #5098bors[bot]2020-07-013-601/+390
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5098: Bump npm deps r=Veetaha a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Be more strict with `@types/node`Laurențiu Nicola2020-07-012-4/+4
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Veetaha <[email protected]>
| * | | | Use newer @types/nodeLaurențiu Nicola2020-06-291-1/+1
| | | | |
| * | | | Downgrade @types/nodeLaurențiu Nicola2020-06-282-4/+4
| | | | |
| * | | | Bump @rollup/plugin-commonjsLaurențiu Nicola2020-06-273-10/+9
| | | | |
| * | | | Bump some npm depsLaurențiu Nicola2020-06-272-591/+381
| | | | |
| | | | |
| \ \ \ \
*-. \ \ \ \ Merge #5154 #5157bors[bot]2020-07-0110-169/+291
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5154: Structured search debugging r=matklad a=davidlattimore Adds a "search" mode to the rust-analyzer binary that does structured search (SSR without the replace part). This is intended primarily for debugging why a bit of code isn't matching a pattern. 5157: Use dynamic dispatch in AstDiagnostic r=matklad a=lnicola Co-authored-by: David Lattimore <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]>
| | * | | | Use dynamic dispatch in AstDiagnosticLaurențiu Nicola2020-07-012-6/+6
| | | | | |