rust-analyzer/crates/ide-assists
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
..
src Auto merge of #12676 - DorianListens:dscheidt/extract-fun-trait-impl, r=jonas-schievink 2022-07-08 14:01:36 +00:00
Cargo.toml Bump either 2022-07-03 10:09:35 +03:00