rust-analyzer/crates
bors 2f02ea03b0 Auto merge of #13041 - DorianListens:dscheidt/gen-fn-self-assoc-2, r=Veykril
feat: Generate static method using Self::assoc() syntax

This change improves the `generate_function` assist to support generating static methods/associated functions using the `Self::assoc()` syntax. Previously, one could generate a static method, but only when specifying the type name directly (like `Foo::assoc()`). After this change, `Self` is supported as well as the type name.

Fixes #13012
2022-08-19 10:57:02 +00:00
..
base-db remove imports that are also in edition 2021's prelude 2022-08-09 01:16:32 +02:00
cfg Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
flycheck Implement lsp extension for cancelling running flychecks 2022-08-19 08:54:53 +02:00
hir Auto merge of #12982 - jridgewell:into_future, r=Veykril 2022-08-18 07:37:47 +00:00
hir-def fix: a bunch of typos 2022-08-17 21:44:58 +08:00
hir-expand Auto merge of #12982 - jridgewell:into_future, r=Veykril 2022-08-18 07:37:47 +00:00
hir-ty Auto merge of #13053 - lowr:fix/pat-sole-Self, r=Veykril 2022-08-18 11:17:40 +00:00
ide Auto merge of #12982 - jridgewell:into_future, r=Veykril 2022-08-18 07:37:47 +00:00
ide-assists Auto merge of #13041 - DorianListens:dscheidt/gen-fn-self-assoc-2, r=Veykril 2022-08-19 10:57:02 +00:00
ide-completion Auto merge of #12982 - jridgewell:into_future, r=Veykril 2022-08-18 07:37:47 +00:00
ide-db Auto merge of #13044 - dzvon:fix-typo, r=Veykril 2022-08-17 14:59:02 +00:00
ide-diagnostics fix: a bunch of typos 2022-08-17 21:44:58 +08:00
ide-ssr Fix r-a spelling in some places 2022-08-01 13:47:09 +02:00
limit Properly cfg the max field of Limit 2022-07-31 19:27:20 +02:00
mbe fix: a bunch of typos 2022-08-17 21:44:58 +08:00
parser Recover from missing ellipsis in record literals for path expressions 2022-08-09 18:23:25 +02:00
paths Auto merge of #12808 - Veykril:check-workspace, r=Veykril 2022-08-04 12:57:04 +00:00
proc-macro-api remove imports that are also in edition 2021's prelude 2022-08-09 01:16:32 +02:00
proc-macro-srv Auto merge of #12989 - lnicola:rm-1-64-abi, r=Veykril 2022-08-10 14:53:21 +00:00
proc-macro-srv-cli Gate and rename binary, use it if it's in the sysroot 2022-07-25 16:22:39 +02:00
proc-macro-test revert nightly rustfmt formatting that accidentally slipped in 2022-07-25 14:18:30 +02:00
profile Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
project-model fix: a bunch of typos 2022-08-17 21:44:58 +08:00
rust-analyzer Auto merge of #13064 - Veykril:rustfmt-err, r=Veykril 2022-08-19 07:23:01 +00:00
sourcegen run stable fmt through rustup 2022-08-06 17:25:02 +03:00
stdx Enable extra warnings required by rust-lang/rust 2022-07-20 15:00:17 +02:00
syntax fix: a bunch of typos 2022-08-17 21:44:58 +08:00
test-utils Implement IntoFuture type inference 2022-08-08 21:05:56 -04:00
text-edit Enable extra warnings required by rust-lang/rust 2022-07-20 15:00:17 +02:00
toolchain Enable extra warnings required by rust-lang/rust 2022-07-20 15:00:17 +02:00
tt Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
vfs fix: a bunch of typos 2022-08-17 21:44:58 +08:00
vfs-notify Don't switch workspace on vfs file changes from libraries 2022-08-05 12:06:42 +02:00