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
When I use something like:
#[async_trait] impl MyTrait for Foo { async fn my_trait(&self) { const MAX: u16 = 128; // ... } async fn or_with_use(&self) { use MyError as E; // ... } }
clippy::items_after_statements now complains.
clippy::items_after_statements
Seems that the generated code has changed in the way that top-level use/const statements are not top-level anymore in sthe expanded code.
use
const
The text was updated successfully, but these errors were encountered:
Fixed in 0.1.48.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When I use something like:
clippy::items_after_statements
now complains.Seems that the generated code has changed in the way that top-level
use
/const
statements are not top-level anymore in sthe expanded code.The text was updated successfully, but these errors were encountered: