-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make empty_line_after_outer_attr an early lint #5609
Make empty_line_after_outer_attr an early lint #5609
Conversation
2b651cb
to
f3af7d5
Compare
We may have to be careful with the versions we use in syn and quote, so it is compatible with other tools of the rust-lang/rust repo? |
f3af7d5
to
681fc24
Compare
For now I've specified the same versions as in rustc's |
Rust will override features with https://github.com/rust-lang/rust/blob/master/src/tools/rustc-workspace-hack/Cargo.toml
|
@phansch I think using just |
681fc24
to
fd86b31
Compare
@bors r=flip1995 |
📌 Commit fd86b31 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes #5567
Unfortunately I couldn't find a way to reproduce the issue without syn/quote. Considering that most real-world macros use syn and/or quote, I think it's okay to pull them in anyway.
changelog: Fix false positive in [
empty_line_after_outer_attr
]