Skip to content
New issue

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

Use #[automatically_derived] attribute in each macro #203

Merged
merged 3 commits into from
Oct 5, 2022

Conversation

tyranron
Copy link
Collaborator

@tyranron tyranron commented Oct 5, 2022

Revealed from #192 (comment)

Synopsis

The code, generated by derive_more, often becomes a subject of complains for strict style linters.

Solution

Use #[automatically_derived] attribute on any generated code, so the code style linters will omit the generated code.

@tyranron tyranron added this to the 1.0.0 milestone Oct 5, 2022
@tyranron tyranron self-assigned this Oct 5, 2022
@tyranron tyranron marked this pull request as draft October 5, 2022 15:30
@tyranron tyranron marked this pull request as ready for review October 5, 2022 15:35
@JelteF JelteF merged commit 31c40ce into master Oct 5, 2022
@JelteF JelteF deleted the add-automatically-derived-attr branch October 5, 2022 15:57
@tyranron tyranron linked an issue Dec 22, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Other macro attributes not passed through to generated code?
2 participants