-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
Breaking change to Generics::lifetimes
in v2.0.73
#1718
Comments
This workaround gets things compiling on `syn` v2.0.73. See #1471, dtolnay/syn#1718
Fixed in 2.0.74 — sorry about the breakage. |
👋 I want to make sure I get all the edge cases right. I don't think I understand all the nuance here yet, despite having read all the linked issues and a bunch of the Rustonomicon. I'd love your help! |
@obi1kenobi in this case the concrete type had no |
Right. My question then is this: in what cases does it matter whether there could be a |
I believe it mattered here due to the |
Hmm, I'm confused because I don't see where that explanation involves |
If a It might help to make a small contrived example that's a minimal repro. |
Yeah, I'd love a small example even if contrived. I'm still having trouble wrapping my head around this. Ultimately, I'll need to formalize this down to the point where |
The following (contrived extraction from
der_derive
, see RustCrypto/formats#1471) compiles withsyn
v2.0.72 but not with v2.0.73:It looks like it now assumes there could be a
Drop
impl where before it knew the concreteLifetimes
type did not have one:The culprit seems to be ac9e1dd.
The text was updated successfully, but these errors were encountered: