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
Input:
#[derive(Clone)] struct Foo { x: i32, }
Output:
#[derive(Foo)] struct Foo { x: i32, }
Notice derive(Clone) has been replaced with derive(Foo), which is bogus.
derive(Clone)
derive(Foo)
We previously had some logic to suppress rewrites coming from derive-generated functions, but this seems not to work any more.
derive
The text was updated successfully, but these errors were encountered:
rewrite: add #[derive(Clone)] test case (#958)
e709192
It turns out #952 was addressed indirectly via #956. This adds a test case to demonstrate the functionality is now working as expected.
add test case showing #905 is resolved (#970)
cacb31c
A test case to show #905 has been resolved by #956. Relevant: #952
aneksteind
Successfully merging a pull request may close this issue.
Input:
Output:
Notice
derive(Clone)
has been replaced withderive(Foo)
, which is bogus.We previously had some logic to suppress rewrites coming from
derive
-generated functions, but this seems not to work any more.The text was updated successfully, but these errors were encountered: