-
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
regression: proc-macro derive unparseable #85692
Comments
This appears to have already fixed in gluon-lang/gluon#889. I'm not sure why this is just now showing up again on Crater. |
Oh, I see - the affected derive invocation also has a This is expected fallout from #82608 - preserving the exact |
Tagging as relnotes (cc @XAMPPRocky) and removing prioritization request; I expect to close as won't fix with a note that duplicate trailing commas are no longer accepted placed in the compatibility notes. |
@Aaron1011 is https://crater-reports.s3.amazonaws.com/beta-1.52-2/beta-2021-05-23/gh/yejingchen.jieba-bot/log.txt (source code in https://docs.rs/crate/tbot/0.6.7/source/src/errors/https_webhook.rs) basically the same error as here? It looks like it's parsing the |
@Mark-Simulacrum: Yes, the underlying cause (exposed bug due to preserving tokens when |
Should we close this as wontfix now that 1.53.0 is released? |
Rust 1.53 introduced an intentional breaking change in attribute handling in macros, and it led to `is-macro` incorrectly generating code for `errors::HttpsWebhook::Tls` (investigated in [rust-lang/rust#85692]). A fix for that landed in `is-macro` 0.1.9 via [kdy1/is-macro#8], so `tbot` needs to require `is-macro` to be of version `^0.1.9`. [rust-lang/rust#85692]: rust-lang/rust#85692 [kdy1/is-macro#8]: kdy1/is-macro#8
From https://crater-reports.s3.amazonaws.com/beta-1.52-2/beta-2021-05-23/gh/omegablitz.gluon-bug/log.txt
cc @petrochenkov @Aaron1011 -- any recent parser changes you can think of that might've caused this?
The text was updated successfully, but these errors were encountered: