You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
When invoking rename on a method call to a trait method the language server will not have workspace edits for implmentations of the trait, only the trait definitions and invocations of the function. See below for example code and the parameters sent between the client and the server.
Example Code:
use foo::Baz;pubfnuse_bar(){let _ = foo::Bar.baz();}mod foo {pubstructBar;pubtraitBaz{fnbaz(&self);}implBazforBar{fnbaz(&self){}}}
The text was updated successfully, but these errors were encountered:
ZoeyR
changed the title
Rename trait method fails to rename method on trait impls
Renaming a trait method fails to rename method on trait impls
Dec 8, 2017
find_impls() currently returns spans for the rows with impl Baz for Bar, which isn't particularly helpful when trying to navigate from def to trait. Next step is probably to understand whether the changes @nrc posted about indeed are enough to support this case. I think it is.
When invoking rename on a method call to a trait method the language server will not have workspace edits for implmentations of the trait, only the trait definitions and invocations of the function. See below for example code and the parameters sent between the client and the server.
Example Code:
Params sent from client to server
Params sent from server to client:
The text was updated successfully, but these errors were encountered: