-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Detect broken crate attributes #1165
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
Comments
I just made the exact same mistake 2 hours ago... |
So... that one would have been caught. But it would be nice if we'd detect empty lines between a |
Dupe of #770. |
This seems straightforward for a first lint, so I'll work on detecting newlines after attributes in the next couple of days 👍 |
@phansch you can create a span from the attribute to the following item, then use the |
I want to avoid this embarrassing commit next time: servo/hyper_serde@b1f2eac
The text was updated successfully, but these errors were encountered: