We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Code Action, Generate blanket trait implementation on trait define
Generate blanket trait implementation
This
Self
todo!()
trait Foo: ToOwned where Self::Owned: Default, { fn foo(&self) -> i32; fn print_foo(&self) { println!("{}", self.foo()); } }
On trait Foo use Generate blanket trait implementation:
trait Foo
trait Foo: ToOwned where Self::Owned: Default, { fn foo(&self) -> i32; fn print_foo(&self) { println!("{}", self.foo()); } } impl<This: ToOwned> Foo for This where This::Owned: Default, { fn foo(&self) -> i32 { todo!() } }
The text was updated successfully, but these errors were encountered:
@rustbot claim
Sorry, something went wrong.
A4-Tacks
Successfully merging a pull request may close this issue.
Add a Code Action,
Generate blanket trait implementation
on trait defineThis
generic paramSelf
bounds toThis
todo!()
fillOn
trait Foo
useGenerate blanket trait implementation
:The text was updated successfully, but these errors were encountered: