bors[bot]
aa38fa1c72
Merge #7772
...
7772: Pickup ConstReference patterns in FindUsages r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-02-23 22:32:47 +00:00
Lukas Wirth
9e8f4d31a4
Pickup ConstReference patterns in FindUsages
2021-02-23 23:31:53 +01:00
Matt Hall
98a626450d
Address review comments
...
* Move code to build replacement into closure
* Look for iter/iter_mut methods on types behind reference
2021-02-23 19:19:48 +00:00
Matt Hall
506293ca43
Add convert_for_to_iter_for_each assist
2021-02-23 18:10:01 +00:00
bors[bot]
a307e4f31f
Merge #7770
...
7770: reliable memory usage during benchmarking r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-02-23 18:02:40 +00:00
Aleksey Kladov
68a9411845
reliable memory usage during benchmarking
2021-02-23 21:02:17 +03:00
bors[bot]
0892ccd090
Merge #7769
...
7769: Update mio r=kjeremy a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2021-02-23 17:18:58 +00:00
kjeremy
722d071dbf
Update mio
2021-02-23 12:16:56 -05:00
bors[bot]
0d5a9e4104
Merge #7768
...
7768: Fix visibility computation when inside a block expression r=jonas-schievink a=jonas-schievink
fixes https://github.com/rust-analyzer/rust-analyzer/issues/7728
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-02-23 17:06:57 +00:00
bors[bot]
e837fb245a
Merge #7766
...
7766: Update our vscode npm packages r=kjeremy a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2021-02-23 16:56:21 +00:00
Jonas Schievink
338823f73a
is_visible_from_def_map: handle block expressions
2021-02-23 17:56:16 +01:00
kjeremy
c3ab200114
Update our vscode npm packages
2021-02-23 11:39:19 -05:00
Jonas Schievink
cf456d72db
Add test
2021-02-23 14:54:01 +01:00
bors[bot]
27ed1ebf89
Merge #7759
...
7759: 7526: Rename ide related crates r=Veykril a=chetankhilosiya
renamed assists -> ide_assists and ssr -> ide_ssr.
the completion crate is already renamed.
Co-authored-by: Chetan Khilosiya <chetan.khilosiya@gmail.com>
2021-02-22 20:28:17 +00:00
Chetan Khilosiya
eb6cfa7f15
7526: Renamed create ssr to ide_ssr.
2021-02-23 00:59:16 +05:30
Chetan Khilosiya
e4756cb4f6
7526: Rename crate assists to ide_assists.
2021-02-23 00:59:16 +05:30
bors[bot]
8687053b11
Merge #7756
...
7756: update tracing-tree r=kjeremy a=kjeremy
Removes some dependencies
Co-authored-by: kjeremy <kjeremy@gmail.com>
2021-02-22 18:23:33 +00:00
kjeremy
11a65c64d0
update tidy
2021-02-22 12:25:02 -05:00
kjeremy
e103ca7d8d
update tracing-tree
2021-02-22 12:03:34 -05:00
bors[bot]
77d861a93a
Merge #7753
...
7753: Add isize to the list of suffixed integers in typed_integer r=kjeremy a=jonasbb
The missing `isize` in `typed_integers` seems to just be an oversight.
Might fix : #7751
Co-authored-by: Jonas Bushart <jonas@bushart.org>
2021-02-22 13:54:53 +00:00
Jonas Bushart
bd525c9d20
Add isize to the list of suffixed integers in typed_integer
...
The missing `isize` in `typed_integers` seems to just be an oversight.
Might fix : #7751
2021-02-22 14:48:56 +01:00
bors[bot]
63d61c0c98
Merge #7752
...
7752: up once_cell r=kjeremy a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2021-02-22 13:32:40 +00:00
kjeremy
d51c58e14e
up once_cell
2021-02-22 08:31:33 -05:00
bors[bot]
7775d92b47
Merge #7749
...
7749: Make more common assist easier to ues r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-02-22 13:15:04 +00:00
Aleksey Kladov
58be1edfbb
Make more common assist easier to ues
2021-02-22 16:07:08 +03:00
bors[bot]
14de9e54a6
Merge #7739
...
7739: Bump deps r=lnicola a=lnicola
Closes #7273
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-02-21 17:34:54 +00:00
Laurențiu Nicola
6c0f7a2f56
Pin ungrammar
2021-02-21 19:33:55 +02:00
Laurențiu Nicola
d03cfe141c
Add test from #7273
2021-02-21 19:22:14 +02:00
Laurențiu Nicola
48ae948b22
Bump deps
2021-02-21 19:13:11 +02:00
bors[bot]
238f3a5173
Merge #7735
...
7735: Stop mixing Result and Option with ? in inline_local_variable r=Veykril a=scottmcm
Depending on the discussion in https://github.com/rust-lang/rfcs/pull/3058 this might not end up being necessary, but I think it's a reasonable change regardless.
Co-authored-by: Scott McMurray <scottmcm@users.noreply.github.com>
2021-02-21 00:18:49 +00:00
Scott McMurray
0fe44d099a
Stop mixing Result and Option with ? in inline_local_variable
...
Depending on the discussion in RFC#3058 this might not end up being necessary, but I think it's a reasonable change regardless.
2021-02-20 14:45:30 -08:00
bors[bot]
62bc753f8b
Merge #7732
...
7732: Don't lower TypeBound::Lifetime as GenericPredicate::Error r=flodiebold a=Veykril
Basically we just discard the typebound for now instead when lowering to `GenericPredicate`. I think this shouldn't have any other side effects?
Fixes #7683(hopefully for real this time)
I also played around with introducing `GenericPredicate::LifetimeOutlives` and `GenericPredicate::TypeOutlives`(see b9d6904845
) but that won't fix this issue(at least not for now) due to lifetime predicate mismatches when resolving methods so I figure this is a good way to fix it for now.
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-02-20 20:17:14 +00:00
bors[bot]
d0a787152d
Merge #7733
...
7733: Update some crates r=kjeremy a=kjeremy
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
2021-02-20 19:59:43 +00:00
Jeremy Kolb
1f3c637a1d
Update tests
2021-02-20 14:59:05 -05:00
Lukas Wirth
0799288f01
Don't write trailing whitespace when formatting empty GenericPredicates
2021-02-20 20:43:04 +01:00
Jeremy Kolb
b43bec380f
Update some crates
2021-02-20 14:15:26 -05:00
Lukas Wirth
9e5192d917
Don't lower TypeBound::Lifetime as GenericPredicate::Error
2021-02-20 19:08:20 +01:00
bors[bot]
0b4ec3c4e8
Merge #7729
...
7729: Try to detect musl distros in the Code extension r=andylizi a=lnicola
Fixes https://github.com/rust-analyzer/rust-analyzer/pull/7658#issuecomment-782701138
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-02-20 17:35:37 +00:00
bors[bot]
364d572de8
Merge #7730
...
7730: Fix #7712 retain visibility extracting mod to file r=lnicola a=mattyhall
Co-authored-by: Matt Hall <matthew@quickbeam.me.uk>
2021-02-20 17:12:41 +00:00
Matt Hall
8497b5bd75
Use format_to! to make logic a bit nicer
2021-02-20 17:11:04 +00:00
Matt Hall
b963893349
Fix #7712 retain visibility extracting mod to file
2021-02-20 16:51:16 +00:00
Laurențiu Nicola
23a8fc5284
Try to detect musl distros in the Code extension
2021-02-20 18:44:28 +02:00
bors[bot]
de67469f59
Merge #7727
...
7727: Remove documentation of obsolete extend selection command r=matklad a=lnicola
Closes #7454
This is available in LSP as `textDocument/selectionRange` and no longer exists as a stand-alone command, so we shouldn't mention it in the manual because it's confusing (it doesn't appear in `package.json`).
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-02-20 15:31:59 +00:00
Laurențiu Nicola
4c589aded0
Remove documentation of obsolete extend selection command
2021-02-20 17:18:53 +02:00
bors[bot]
1349f6a791
Merge #7726
...
7726: feat(completion): add doc(hidden) completion for attributes r=lnicola a=bnjjj
Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-02-20 14:18:34 +00:00
Benjamin Coenen
cf32dbd9bf
feat(completion): add doc(hidden) completion for attributes
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-02-20 15:16:05 +01:00
bors[bot]
459e10eb74
Merge #7725
...
7725: fix(assist): display where predicates when we want to generate impl r=lnicola a=bnjjj
close #7721
Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-02-20 14:07:19 +00:00
Benjamin Coenen
d8559588c0
fix(assist): display where predicates when we want to generate impl
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-02-20 15:05:01 +01:00
bors[bot]
ba3a5c518a
Merge #7724
...
7724: Consider import prefix config settings during flyimports r=SomeoneToIgnore a=SomeoneToIgnore
Fixes #7666
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2021-02-20 11:55:17 +00:00
Kirill Bulatov
4fe5786c0c
Consider import prefix config settings during flyimports
2021-02-20 13:53:50 +02:00