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
Self
trait Foo { fn foo(&self) { bar(self) } } fn bar<F: Foo>(_: &F) {} fn main(){}
dm2.rs:3:8: 3:11 error: failed to find an implementation of trait Foo for Self dm2.rs:3 bar(self) ^~~
Presumably Self : Foo in a default method on Foo.
Self : Foo
Foo
(Part of #2794.)
The text was updated successfully, but these errors were encountered:
Whoops, dup of #7183.
Sorry, something went wrong.
No branches or pull requests
Presumably
Self : Foo
in a default method onFoo
.(Part of #2794.)
The text was updated successfully, but these errors were encountered: