rust-analyzer/crates
bors[bot] 2d76b176c0
Merge #8884
8884: fix: add_explicit_type produces invalid code on `@` patterns r=Veykril a=iDawer

In
```rust
let name @ () = ();
```
 an explicit type should be inserted after the pattern, not just after the name.
`let` statement defined as `LetStmt = Attr* 'let' Pat (':' Type)? '=' initializer:Expr ';'`

Co-authored-by: Dawer <7803845+iDawer@users.noreply.github.com>
2021-05-19 18:30:36 +00:00
..
base_db Add one more profiling span to add_dep 2021-04-22 21:48:17 +03:00
cfg internal: expose cfg attrs from hir::Crate 2021-05-07 23:50:24 +03:00
flycheck Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
hir Merge #8813 2021-05-16 01:53:12 +00:00
hir_def Merge #8882 2021-05-19 17:06:49 +00:00
hir_expand Implement concat_idents 2021-05-14 06:42:10 +08:00
hir_ty Check patterns for type match recursively. 2021-05-19 11:08:59 +05:00
ide Fix prepare_rename failing for modules 2021-05-19 14:19:44 +02:00
ide_assists add_explicit_type respects @ patterns 2021-05-19 23:27:51 +05:00
ide_completion simplify 2021-05-15 01:09:53 +02:00
ide_db Add new LSP extension for workspace symbol lookup 2021-05-18 00:40:30 +02:00
ide_ssr syntax: return owned string instead of leaking string 2021-03-26 18:30:59 +01:00
mbe Merge #8560 2021-04-18 02:14:27 +00:00
parser Add = to pattern recovery 2021-05-08 23:14:08 +02:00
paths Clearer naming 2021-04-06 16:22:26 +03:00
proc_macro_api Replace memmap to memmap2 in proc_macro_api 2021-05-03 20:20:47 -04:00
proc_macro_srv Fix parse u128 bug in proc-macro 2021-03-31 19:50:36 +08:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Use package renaming so source doesn't say tikv 2021-05-07 12:41:07 -07:00
project_model Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
rust-analyzer feat: allow clients to feature detect symbol filtering 2021-05-19 13:28:58 +03:00
stdx internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
syntax fix: don't add extra whitespace around fields 2021-05-17 12:45:01 +03:00
test_utils internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt a lot of clippy::style fixes 2021-03-21 16:15:41 +01:00
vfs Avoid duplicating VfsPath in vfs::path_interner::PathInterner by using an IndexSet 2021-04-06 16:03:57 +03:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00