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
This is what will make inherited kinds work:
trait Bar : Copy { fn g(); } struct A { x: int } impl A : Bar { fn g() { } } fn main() { }
The user is implementing Copy, but the compiler also implements Copy implicitly.
Copy
This will also allow kind-based 'assertions':
struct Foo { ... } // Overlapping instance guarantees that `Foo` is copyable impl Foo: Copy;
The text was updated successfully, but these errors were encountered:
Related: #3890
Sorry, something went wrong.
brson
No branches or pull requests
This is what will make inherited kinds work:
The user is implementing
Copy
, but the compiler also implementsCopy
implicitly.This will also allow kind-based 'assertions':
The text was updated successfully, but these errors were encountered: