-
Notifications
You must be signed in to change notification settings - Fork 13k
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
: token not accepted in attribute? #65524
Comments
Most likely introduced by #64462. |
Minimized: macro_rules! m { () => () }
#[allow(clippy:all)]
m!();
fn main() {} Inert attributes on macro invocations (like Previously such attributes were partially checked (compared to inert attributes remaining in the AST), after #64462 they are fully checked (in the same way as inert attributes remaining in the AST). |
It sounds like we would want to warn on these cases. |
Imo, based on a single regression, which also exposed a bug in the crate, it doesn't seem like a justified change. |
I hadn't checked how many dependencies it had. It should be fine but we must proactively reach out to fix their crate. |
Done in balena-io-modules/jellyschema#118. |
https://crater-reports.s3.amazonaws.com/beta-1.39-1/beta-2019-09-28/reg/jellyschema-0.11.10/log.txt
I can't seem to reproduce this in a trivial example so it might be related to pre-cfg expansion or something like that...
cc #64962
The text was updated successfully, but these errors were encountered: