Aleksey Kladov
5192ddfa2e
feat: include full path in the cyclic deps error
2021-08-18 15:35:04 +03:00
Dawer
d6c4165182
internal: introduce in-place indenting API
2021-08-18 16:05:23 +05:00
BooksBaum
b1ebb82f32
Add deref (*
) handling for usages of ref tuples
2021-08-17 19:23:07 +02:00
BooksBaum
384fae7fcd
Switch order of assists
...
Destructure in sub-pattern before Destructure in place to favor the
first one
2021-08-17 19:23:06 +02:00
BooksBaum
d0cf28322a
Add generated doctest
2021-08-17 19:23:06 +02:00
BooksBaum
5b9f8e7e8e
Fix errors from rebase master
...
Note:
2nd Assist description is moved down: generated doc tests extracts now
all tests (previously only the first one). But it uses the first
`Assist` name -- which is the wrong one for the 2nd test. And 2nd assist
is currently disabled -> would fail anyway.
2021-08-17 19:23:06 +02:00
BooksBaum
b441aa2046
Cleanup according to style-requirements in tests
2021-08-17 19:23:06 +02:00
BooksBaum
45ef57bd23
Fix: different assist ids in doc and code
2021-08-17 19:23:05 +02:00
BooksBaum
0d2490f785
Handle tuple in macro call
...
Only tuple name is handled (uncommented), not tuple index
2021-08-17 19:23:05 +02:00
BooksBaum
450a9c5b12
Add destructure in sub-pattern (after @
)
2021-08-17 19:23:05 +02:00
BooksBaum
3e4051938d
Handle mut
& ref
2021-08-17 19:23:04 +02:00
BooksBaum
478b2988c0
Add Destructure Tuple
2021-08-17 19:22:57 +02:00
bors[bot]
d1ba993136
Merge #9936
...
9936: proc_macro_api: make commit & date suffix of binary version optional r=lnicola a=lnicola
Closes #9916
bors r+
Co-authored-by: Florian sp1rit <sp1ritCS@protonmail.com>
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-08-17 16:26:05 +00:00
Laurențiu Nicola
f69225c4fa
Fix formatting
2021-08-17 19:25:37 +03:00
bors[bot]
75f2a5b185
Merge #9934
...
9934: Revert "Downgrade notify and use RecommendedWatcher" r=lnicola a=xanderio
This reverts commit 5b0c86af7d
.
The pre-5.0.12 release of notify fixed this issue.
`@lnicola` Could you verify that this now works on NetBSD?
Co-authored-by: Alexander Sieg <alex@xanderio.de>
Co-authored-by: Alexander Sieg <6298052+xanderio@users.noreply.github.com>
2021-08-17 15:49:02 +00:00
Alexander Sieg
7bf19f9842
rebuild Cargo.lock
2021-08-17 17:27:37 +02:00
Alexander Sieg
778d372900
Bump notify version to 5.0.0-pre.12
...
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2021-08-17 17:25:11 +02:00
Alexander Sieg
ca6a1d8c63
Revert "Downgrade notify and use RecommendedWatcher"
...
This reverts commit 5b0c86af7d
.
The pre-5.0.12 release of notify fixed this issue.
2021-08-17 17:17:13 +02:00
bors[bot]
8d7eea9e3a
Merge #9929
...
9929: fix: Handle all rename special cases for record pattern fields r=Veykril a=Veykril
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-08-17 13:25:08 +00:00
Lukas Wirth
daf3094958
Emit more concise text edits in ide_db::rename
2021-08-17 15:24:01 +02:00
Florian sp1rit
2bfaffbf82
proc_macro_api: make commit & date suffix of binary version optional
...
Signed-off-by: Florian "sp1rit" <sp1ritCS@protonmail.com>
2021-08-17 14:08:10 +03:00
Alex.F
8e4039c7d7
inline await statement
2021-08-17 15:24:13 +08:00
Lukas Wirth
995c8f50a2
some code docs for the ide_db/rename module
2021-08-16 23:06:51 +02:00
Lukas Wirth
5e533e5900
Handle all rename special cases for all record pattern fields
2021-08-16 22:48:38 +02:00
bors[bot]
dcbaa75bc1
Merge #9928
...
9928: internal: Highlight function exit points on `fn` keyword r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-08-16 19:26:18 +00:00
Lukas Wirth
40455db088
Highlight function exit points on fn
keyword
2021-08-16 21:25:22 +02:00
bors[bot]
067bae3247
Merge #9927
...
9927: minor: Fix some clippy lints r=lnicola a=lnicola
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-08-16 19:04:57 +00:00
Laurențiu Nicola
c9f448a834
Fix some clippy lints
2021-08-16 22:04:26 +03:00
bors[bot]
978b140781
Merge #9921
...
9921: Only add entries to SourceToDef dynmaps when they come from the same file r=matklad a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/9919
Running the test as described in the issue I do not get any eprintln output at all anymore.
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-08-16 16:38:44 +00:00
Lukas Wirth
6523a09562
style
2021-08-16 18:29:16 +02:00
bors[bot]
bae22f9507
Merge #9924
...
9924: Fix gen debug for enums r=yoshuawuyts a=yoshuawuyts
Closes https://github.com/rust-analyzer/rust-analyzer/issues/9914 . Thanks!
r? `@Veykril`
Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2021-08-16 16:25:57 +00:00
Yoshua Wuyts
067dc660ae
implement feedback from review
2021-08-16 18:23:51 +02:00
Lukas Wirth
0336e9b25f
Flatten SourceToDefCache structure
2021-08-16 17:55:18 +02:00
Yoshua Wuyts
9374d526da
fix debug tuple structs
2021-08-16 17:39:08 +02:00
Lukas Wirth
c90ecc5c26
Only add entries to SourceToDef dynmaps when they come from the same file
2021-08-16 17:07:25 +02:00
bors[bot]
6a07bf6a9f
Merge #9920
...
9920: minor: Simplify r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-08-16 14:13:04 +00:00
Lukas Wirth
0c0142f61a
Simplify
2021-08-16 16:12:20 +02:00
bors[bot]
785bc57a3d
Merge #9918
...
9918: minor: simplify r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-08-16 11:46:21 +00:00
Aleksey Kladov
438d1da6c6
minor: simplify
2021-08-16 14:45:54 +03:00
bors[bot]
9c330d6c6c
Merge #9917
...
9917: minor: remove dead code r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-08-16 11:32:43 +00:00
Aleksey Kladov
d29c52354c
minor: remove dead code
2021-08-16 14:28:04 +03:00
Yoshua Wuyts
b67378f53e
fix debug record structs
2021-08-16 12:58:06 +02:00
Alex.F
635b89fdaa
clean imports
2021-08-16 10:35:27 +08:00
Alex.F
6b3a6ddb39
fix lint
2021-08-16 00:21:12 +08:00
Alex.F
d13f6ba750
use async version
2021-08-16 00:19:45 +08:00
bors[bot]
b641a66078
Merge #9905
...
9905: internal: optimize compile time r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-08-15 10:26:59 +00:00
Aleksey Kladov
92da7e9ffa
internal: optimize compile time
...
cargo llvm-lines shows that path_to_error bloats the code. I don't think
I've needed this functionality recently, seems that we've fixed most of
the serialization problems. So let's just remove it. Should be easy to
add back if we ever need it, and it does make sense to keep the
`from_json` function around.
2021-08-15 13:24:37 +03:00
bors[bot]
933a4dc3a6
Merge #9902
...
9902: minor: move functionality to a better place r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-08-14 17:43:52 +00:00
Aleksey Kladov
3c49a9f079
minor: move functionality to a better place
2021-08-14 20:43:28 +03:00
bors[bot]
182a2b8e72
Merge #9901
...
9901: internal: remove dead code r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-08-14 17:30:13 +00:00