Dorian Scheidt e3940003a2 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-02 15:00:02 -05:00
..
2022-06-10 17:30:02 +02:00
2022-07-01 19:00:07 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00
2022-06-15 18:35:48 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00