Amos Wenger
d9e16c8289
Merge commit 'd03c1c87d4ca2d524646316387d47b12524ac451' into HEAD
2022-11-25 13:06:03 +01:00
Amos Wenger
ae43043aab
Merge commit '79923c382' into HEAD
2022-11-25 13:06:01 +01:00
Amos Wenger
8514f3fe7e
Merge commit 'ba28e19b7838e3ad4223ae82d074dc3950ef1548' into HEAD
2022-11-25 13:05:27 +01:00
Amos Wenger
e070dc5129
Merge commit 'c60b1f641' into HEAD
2022-11-25 13:05:26 +01:00
Amos Wenger
682a4de9ab
Merge commit '43fb9563b2943d6abc5f3552195f3e27ac618966' into HEAD
2022-11-25 13:04:51 +01:00
Amos Wenger
2f65294569
Merge commit '8807fc4cc' into HEAD
2022-11-25 13:04:50 +01:00
Amos Wenger
2dbda1a6e2
Merge commit '0531aab522f25d6aae30b2cc23a09f4b9257eedc' into HEAD
2022-11-25 13:04:02 +01:00
Amos Wenger
251b18ac6c
Merge commit 'a99a48e78' into HEAD
2022-11-25 13:03:59 +01:00
Amos Wenger
299c2938c9
Merge commit '61504c8d951c566eb03037dcb300c96f4bd9a8b6' into HEAD
2022-11-25 13:03:12 +01:00
Amos Wenger
e6540cff74
Merge commit '4f55ebbd4' into HEAD
2022-11-25 13:03:10 +01:00
Amos Wenger
bc9b613808
Merge commit '187bee0bb100111466a3557c20f80defcc0f4db3' into HEAD
2022-11-25 13:02:46 +01:00
Amos Wenger
969e25033b
Merge commit 'f5fde4df4' into HEAD
2022-11-25 13:02:44 +01:00
Amos Wenger
b355362380
Merge commit '2e9f1204ca01c3e20898d4a67c8b84899d394a88' into HEAD
2022-11-25 13:02:11 +01:00
Amos Wenger
dec148e6eb
Merge commit '459bbb422' into HEAD
2022-11-25 13:02:06 +01:00
Amos Wenger
be2fca97c2
Merge commit '67920f797511c360b25dab4d30730be304848f32' into HEAD
2022-11-25 12:58:20 +01:00
Amos Wenger
318fdacaf8
Merge commit '65e1dc4d9' into HEAD
2022-11-25 12:58:18 +01:00
Amos Wenger
ae878f2708
Merge commit 'e8e598f6415461e7fe957eec1bee6afb55927d59' into HEAD
2022-11-25 12:58:02 +01:00
Amos Wenger
ff2b468b55
Merge commit '3e358a682' into HEAD
2022-11-25 12:58:00 +01:00
Amos Wenger
8117027de6
Merge commit 'a670ff888437f4b6a3d24cc2996e9f969a87cbae' into HEAD
2022-11-25 12:57:43 +01:00
Amos Wenger
6ac43ecf17
Merge commit '31519bb39' into HEAD
2022-11-25 12:57:38 +01:00
Amos Wenger
797ee293ed
Merge commit 'b6d59f2bb4fae0ba4f74e2c967b5e2f777f8c860' into HEAD
2022-11-25 12:55:14 +01:00
Amos Wenger
2374c0b368
Merge commit '8231fee46' into HEAD
2022-11-25 12:55:08 +01:00
Amos Wenger
03a723e6bc
Merge commit '634cfe3d72e785c843ca5d412b12be137b2e14fb' into HEAD
2022-11-25 12:54:28 +01:00
Amos Wenger
db84a00d03
Merge commit '22c8c9c40' into HEAD
2022-11-25 12:13:34 +01:00
Amos Wenger
2566e06da1
Merge commit '8e38833c3674c1be7d81c6069c62e6ed52b18b27' into HEAD
2022-11-25 12:01:49 +01:00
Laurențiu Nicola
79923c382a
⬆️ rust-analyzer
2022-11-09 21:49:10 +02:00
bors
d03c1c87d4
Auto merge of #13556 - pd4d10:patch-1, r=lnicola
...
docs: fix adoc links
Correct #13536 with adoc link syntax
2022-11-05 17:57:31 +00:00
Rongjian Zhang
935eb3f634
docs: fix adoc links
2022-11-06 01:33:57 +08:00
bors
e47460b208
Auto merge of #13550 - Veykril:issue-template, r=lnicola
...
minor: Update github issue templates
2022-11-05 13:20:26 +00:00
bors
c06bbfb380
Auto merge of #13536 - pd4d10:patch-1, r=Veykril
...
docs: add crates section to the manual
closes #13533
Added a section to the user manual, to make it easier for users to find the correct crate.
2022-11-05 12:59:05 +00:00
bors
25b1d6f3f9
Auto merge of #13435 - DropDemBits:assists-format-args-capture-pt3, r=Veykril
...
Migrate assists to format args captures, part 3
Continuation of https://github.com/rust-lang/rust-analyzer/pull/13379
Migrates:
- `inline_call`
- `inline_local_variable`
- `introduce_named_lifetime`
- `merge_match_arms`
- `move_from_mod_rs`
- `move_guard`
- `move_module_to_file`
- `move_to_mod_rs`
- `number_representation`
- `qualify_method_call`
- `qualify_path`
- `raw_string`
- `remove_dbg`
- `replace_derive_with_manual_impl`
- `replace_or_with_or_else`
- `replace_turbofish_with_explicit_type`
- `unwrap_tuple`
- `wrap_return_type_in_result`
2022-11-05 12:41:23 +00:00
Lukas Wirth
ef4616822b
minor: Update github issue templates
2022-11-05 13:29:44 +01:00
bors
afe8f6b922
Auto merge of #13379 - DropDemBits:ide-assists-format-args-capture, r=Veykril
...
internal: Migrate `ide_assists::utils` and `ide_assists::handlers` to use format arg captures (part 1)
This not only serves as making future migration to mutable syntax trees easier, it also finds out what needs to be migrated in the first place.
~~Aside from the first commit, subsequent commits are structured to only deal with one file/handler at a time.~~
This is the first of 3 PRs, migrating:
Utils:
- `gen_trait_fn_body`
- `render_snippet`
- `ReferenceConversion`
- `convert_type`
- `getter`
Handlers:
- `add_explicit_type`
- `add_return_type`
- `add_turbo_fish`
- `apply_demorgan`
- `auto_import`
- `convert_comment_block`
- `convert_integer_literal`
- `convert_into_to_from`
- `convert_iter_for_each_to_for`
- `convert_let_else_to_match`
- `convert_tuple_struct_to_named_struct`
- `convert_two_arm_bool_match_to_matches_macro`
- `destructure_tuple_binding`
- `extract_function`
- `extract_module`
- `extract_struct_from_enum_variant`
- `extract_type_alias`
- `extract_variable`
- `fix_visibility`
2022-11-05 12:29:06 +00:00
bors
2c37e7d4af
Auto merge of #13549 - Veykril:search-fix, r=Veykril
...
fix: Fix reference searching only accounting substrings instead of whole identifiers
Fixes https://github.com/rust-lang/rust-analyzer/issues/13498
2022-11-05 12:16:18 +00:00
Lukas Wirth
17619de711
fix: Fix reference searching only accounting substrings instead of whole identifiers
2022-11-05 13:00:02 +01:00
bors
df3877037e
Auto merge of #13454 - justinmmott:master, r=flodiebold
...
Fixed local shadowing the caller's argument issue
fix https://github.com/rust-lang/rust-analyzer/issues/12536
2022-11-05 10:05:52 +00:00
bors
66900a7e05
Auto merge of #13541 - Veykril:dbg-cmd, r=Veykril
...
Clarify what commands are debug commands in VSCode
Renders as

2022-11-04 23:30:48 +00:00
Lukas Wirth
26b5621018
Mark the Memory Usage command as debug command
2022-11-05 00:30:21 +01:00
bors
cd2603299c
Auto merge of #13546 - Veykril:unsafe-fn-ptr, r=Veykril
...
Lower unsafety of fn pointer and fn item types
2022-11-04 20:29:16 +00:00
Lukas Wirth
6f09c72b1b
Lower unsafety of fn pointer and fn item types
2022-11-04 21:07:15 +01:00
bors
ad633db493
Auto merge of #13544 - HKalbasi:patch-2, r=Veykril
...
Add rustbot features related to PR state labels
It makes rustbot add `S-waiting-on-review` to every new PR, and ``@rustbot` author` and ``@rustbot` review` commands working.
2022-11-04 16:12:21 +00:00
HKalbasi
3508820a14
Add rustbot features related to PR state labels
2022-11-04 15:27:50 +03:30
Lukas Wirth
6750f6b7c5
Clarify what commands are debug commands in VSCode
2022-11-03 21:36:14 +01:00
bors
bbcb77ea6f
Auto merge of #13456 - emilio:scip-local-symbol, r=Veykril
...
scip: Generate symbols for local crates.
Consider something like:
```
// a.rs
pub struct Foo { .. } // Foo is "local 1"
fn something() {
crate:🅱️ :Bar::new() // Bar is "local 1", but of "b.rs"
}
// b.rs
pub struct Bar { .. } // "local 1"
```
Without this there's no way to disambiguate whether "local 1" references "Bar" or "Foo".
2022-11-03 13:58:36 +00:00
bors
f3a68712a9
Auto merge of #13537 - lnicola:ovsx-fail, r=lnicola
...
minor: Allow ovsx publishing to fail
2022-11-03 13:43:38 +00:00
Laurențiu Nicola
6073e58e30
Allow ovsx publishing to fail
2022-11-03 15:42:55 +02:00
Rongjian Zhang
08c2b4557b
docs: add crates section to the manual
2022-11-03 13:17:06 +08:00
bors
56c97a8351
Auto merge of #13530 - lnicola:bump-ovsx, r=lnicola
...
minor: Bump ovsx
CC https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1330#note_1033611
2022-11-02 13:11:55 +00:00
Laurențiu Nicola
adee109376
Bump ovsx
2022-11-02 14:51:07 +02:00
bors
6c3ab563de
Auto merge of #13527 - unexge:use-let-else-stmt-in-convert-to-guarded-return-assist, r=jonas-schievink
...
Use let-else statements in `Convert to guarded return` assist
Follow up for https://github.com/rust-lang/rust-analyzer/pull/13516 , addresses remaining part of https://github.com/rust-lang/rust-analyzer/issues/13254#issuecomment-1250408527
2022-11-02 11:06:54 +00:00