Veetaha
6a6ce616aa
Force showing extension activation error pop-up notification
2020-07-02 05:19:02 +03:00
Veetaha
69b6f6def5
Always install required nightly extension if current one is not nightly
2020-07-02 05:05:29 +03:00
David Lattimore
83588a1c45
SSR: Use T! instead of SyntaxKind::* where possible
2020-07-02 09:19:58 +10:00
BGluth
cc77bdf59a
Auto-completion no longer occurs on comments
2020-07-01 15:20:07 -06:00
BGluth
0bbd6428ad
Added tests for no auto-completion on comments
2020-07-01 15:16:47 -06:00
bors[bot]
a33eefa3b2
Merge #5149
...
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 <florian.diebold@freiheit.com>
2020-07-01 18:41:06 +00:00
Florian Diebold
d5d485ef92
Implement Chalk variable kinds
...
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 .
2020-07-01 20:40:38 +02:00
Laurențiu Nicola
ddcd98f604
Disable optimizations for tracing-attributes
2020-07-01 20:51:09 +03:00
bors[bot]
ec1d1a1b70
Merge #5179
...
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 <jonas.schievink@ferrous-systems.com>
2020-07-01 17:28:12 +00:00
Jonas Schievink
4ef1d533bd
ItemTree: Lower fields despite invalid type
2020-07-01 19:24:39 +02:00
bors[bot]
43dfd29d8d
Merge #5174
...
5174: Colorize more test fixtures r=matklad a=lnicola
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2020-07-01 17:20:02 +00:00
bors[bot]
ad1a0e626b
Merge #5175
...
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 <jonas.schievink@ferrous-systems.com>
2020-07-01 17:12:06 +00:00
bors[bot]
8943c2cb97
Merge #5178
...
5178: Fold multiline calls r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 16:35:16 +00:00
Aleksey Kladov
8295dc42a0
Fold multiline calls
2020-07-01 18:27:58 +02:00
Laurențiu Nicola
dbb940fa7d
Colorize more test fixtures
2020-07-01 19:05:34 +03:00
Aleksey Kladov
53e3a7aeb4
Update file structure tests
2020-07-01 17:59:44 +02:00
bors[bot]
87d24e7caa
Merge #5176
...
5176: Update expand macro tests r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 15:54:23 +00:00
Aleksey Kladov
bebbbb61a7
Update expand macro tests
2020-07-01 17:52:22 +02:00
Jonas Schievink
6bde542a39
Split CrateImplDefs
in inherent and trait impls
...
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).
2020-07-01 17:15:20 +02:00
bors[bot]
14bf5bb7ee
Merge #5167
...
5167: Reuse Semantics instances r=matklad a=lnicola
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2020-07-01 15:06:13 +00:00
bors[bot]
f565447775
Merge #5173
...
5173: Automatically reload project on config change r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 14:43:11 +00:00
Aleksey Kladov
a03cfa4926
Automatically reload project on config change
2020-07-01 16:42:14 +02:00
bors[bot]
3cf389f88b
Merge #5171
...
5171: Better account for project reload r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 14:01:36 +00:00
Aleksey Kladov
298adb27b9
Better account for project reload
2020-07-01 16:01:03 +02:00
Jonas Schievink
07ba986db7
Don't recursively call impls_from_deps
...
It creates a big map and duplicates lots of impls that are then left
lying around
2020-07-01 15:19:36 +02:00
Jonas Schievink
63ea8f2af0
Add a transitive deps iterator to CrateGraph
2020-07-01 15:18:51 +02:00
bors[bot]
3f94ad332a
Merge #5169
...
5169: Add reload workspace command r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 13:08:25 +00:00
Aleksey Kladov
c9f878962a
Add reload workspace command
2020-07-01 14:57:59 +02:00
bors[bot]
e080c19cca
Merge #5168
...
5168: Log flycheck command r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 12:49:40 +00:00
Aleksey Kladov
18ec1ed72e
Log flycheck command
2020-07-01 14:49:13 +02:00
Laurențiu Nicola
9710ad8c48
Reuse Semantics instances
2020-07-01 15:27:01 +03:00
bors[bot]
ec8b4dca02
Merge #5110
...
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 <kjeremy@gmail.com>
2020-07-01 11:57:01 +00:00
Jeremy Kolb
20d864807d
Use the selection range when resolving call hierarchy items
...
Add a test in call_hierarchy that already passed
Fixes #5103
2020-07-01 07:56:15 -04:00
bors[bot]
248b656c21
Merge #5162
...
5162: Try to reduce Semantics monomorphisations r=matklad a=lnicola
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2020-07-01 11:40:47 +00:00
Laurențiu Nicola
d89827f9e0
Make less code generic
2020-07-01 14:38:42 +03:00
Laurențiu Nicola
e8505f14d4
Try to reduce Semantics monomorphisations
2020-07-01 14:38:42 +03:00
bors[bot]
f372b13a85
Merge #5164
...
5164: Dont show empty progress for empty workspaces r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 11:05:59 +00:00
Aleksey Kladov
44b8737ced
Dont show empty progress for empty workspaces
2020-07-01 13:05:34 +02:00
bors[bot]
7d82152b21
Merge #5163
...
5163: Refactor parser tests a bit r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 10:31:39 +00:00
Aleksey Kladov
991850bc3c
Unify magic env var name
2020-07-01 12:31:03 +02:00
Aleksey Kladov
7b0113b3d5
Move parser specific tests utils to parser tests
2020-07-01 12:30:17 +02:00
bors[bot]
a9db3d53a0
Merge #5159
...
5159: Don't fail expect tests in rewrite mode r=matklad a=matklad
bors r+
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-01 09:35:31 +00:00
bors[bot]
99d6ef29a1
Merge #5160
...
5160: Use the existing Semantics in auto_import r=matklad a=lnicola
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2020-07-01 09:28:22 +00:00
Aleksey Kladov
05d67a9a0e
Move test data to test_data directory
2020-07-01 11:26:09 +02:00
Aleksey Kladov
adf624b433
Add file support to expect
2020-07-01 11:19:40 +02:00
Laurențiu Nicola
c1139a5a44
Use the existing Semantics in auto_import
2020-07-01 11:48:15 +03:00
Aleksey Kladov
82838f5eda
Cleanup
2020-07-01 10:44:16 +02:00
Aleksey Kladov
977b688144
Don't fail tests when updating snapshot
2020-07-01 10:44:16 +02:00
David Lattimore
3d9997889b
SSR: Add initial support for placeholder constraints
2020-07-01 18:44:11 +10:00
bors[bot]
d34fd372bb
Merge #5098
...
5098: Bump npm deps r=Veetaha a=lnicola
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-07-01 08:18:57 +00:00