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
The compiler doesn't check the consistency label in a trait method. Example:
pub trait Add { fn add(self, label x: i32) -> Self; } impl Add for i32 { fn add(self, label2 x: i32) -> i32 { return self + x } }
expected: method `add` has incompatible parameters for `add` of trait `Add` actual: none
method `add` has incompatible parameters for `add` of trait `Add`
This makes impossible to call trait method in some cases.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The compiler doesn't check the consistency label in a trait method.
Example:
expected:
method `add` has incompatible parameters for `add` of trait `Add`
actual: none
This makes impossible to call trait method in some cases.
The text was updated successfully, but these errors were encountered: