Skip to content

Conversation

ATantalizedLion
Copy link

Fixes #1108

Adds a has_attr_namevalue that checks syn::Meta::NameValue for the attribute (original only checks syn::Meta::Path).
must_use now checks for either the has_attr_word or the new has_attr_namevalue.

I could not get the depfile.rs tests running locally (for both master and my own fork) so I am unsure if they pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[fn] must_use is ignored when reason is specified
1 participant