-
Notifications
You must be signed in to change notification settings - Fork 329
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
Panic when parsing a generic type with empty tuple as default type parameter #993
Comments
Is there a workaround for this ? I'm hitting the same problem, probably on some |
I'm also hitting the same problem, downgrading to 0.26.0 fixed it for me. |
2 tasks
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
Mar 20, 2025
Works around mozilla/cbindgen#993 in cbindgen 0.27+ Signed-off-by: Bob Weinand <[email protected]>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
Mar 20, 2025
Works around mozilla/cbindgen#993 in cbindgen 0.27+ Signed-off-by: Bob Weinand <[email protected]>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
Mar 20, 2025
Works around mozilla/cbindgen#993 in cbindgen 0.27+ Signed-off-by: Bob Weinand <[email protected]>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
Mar 20, 2025
Loading
Loading status checks…
Works around mozilla/cbindgen#993 in cbindgen 0.27+ Signed-off-by: Bob Weinand <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#959 added support for default generic type parameters. This broke some existing use cases, in particular where a type is defined with a type parameter with a default, but where all usages specify the type parameter.
MRE:
Running cbindgen against that produces the following:
The text was updated successfully, but these errors were encountered: