rust/crates
bors 7181a39d4c Auto merge of #12676 - DorianListens:dscheidt/extract-fun-trait-impl, r=jonas-schievink
fix: Extract function from trait impl

This change fixes #10036, "Extract to function assist implements nonexistent
trait methods".

When we detect that the extraction is coming from within a trait impl, and that
a `self` param will be necessary, we adjust which `SyntaxNode` to `insert_after`,
and create a new empty `impl` block for the newly extracted function.
2022-07-08 14:01:36 +00:00
..
base-db Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
cfg internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
flycheck Bump cargo_metadata 2022-07-03 10:09:35 +03:00
hir Handle generic args per arg index 2022-07-07 00:45:22 +08:00
hir-def Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
hir-expand Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
hir-ty Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-assists Auto merge of #12676 - DorianListens:dscheidt/extract-fun-trait-impl, r=jonas-schievink 2022-07-08 14:01:36 +00:00
ide-completion Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-db Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-diagnostics Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ide-ssr internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
limit
mbe Bump smallvec 2022-07-03 10:09:35 +03:00
parser Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
paths
proc-macro-api Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
proc-macro-srv Bump object 2022-07-03 10:14:48 +03:00
proc-macro-test Bump cargo_metadata 2022-07-03 10:09:35 +03:00
profile Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
project-model Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
rust-analyzer Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
sourcegen Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
stdx Polish 2022-06-15 18:35:48 +02:00
syntax Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
test-utils internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
text-edit style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
toolchain
tt internal: Bump Dependencies 2022-06-10 17:30:02 +02:00
vfs Bump indexmap 2022-07-03 10:09:35 +03:00
vfs-notify Bump crossbeam-channel 2022-07-03 09:56:58 +03:00