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
Contexts, in attribute functions, don't support tuple types since we need to replace lifetimes on any borrowed types.
We should relax this for tuple types by inspecting the elements in them and replacing the lifetimes as needed. This will allow us to handle cases like
#[attribute] fn check_property(subject: &Subject, _: &(), (left, right): (Foo, &mut Bar) -> AttributeResult<Error> { // ... }
which is not currently supported today
The text was updated successfully, but these errors were encountered:
d0nutptr
No branches or pull requests
Contexts, in attribute functions, don't support tuple types since we need to replace lifetimes on any borrowed types.
We should relax this for tuple types by inspecting the elements in them and replacing the lifetimes as needed. This will allow us to handle cases like
which is not currently supported today
The text was updated successfully, but these errors were encountered: