Skip to content

feat: Comprehensive support for complex generics, consts, and where clauses#51

Open
Wicpar wants to merge 1 commit intopaholg:mainfrom
Wicpar:main
Open

feat: Comprehensive support for complex generics, consts, and where clauses#51
Wicpar wants to merge 1 commit intopaholg:mainfrom
Wicpar:main

Conversation

@Wicpar
Copy link

@Wicpar Wicpar commented Dec 11, 2025

Changes:

  • Const Generics: Added full support for const N: usize parameters.
  • Associated Lifetimes: Enabled support for lifetimes tied to associated types/traits.
  • Where Clauses: Implemented logic to parse and propagate where clauses to generated subenums.
  • Nested Generics Fix: Resolved an issue where generics nested deep within types (e.g., Vec<Option>) were not detected.
  • Refactor: Replaced the simple extractor with a syn::visit::Visit implementation for robust AST traversal.

Closes:
#13, #28, #48

Issues that should have been closed previously:
#37

…lauses, and fixed issues with nested generic uses not being detected, and a refactor of the extractor (visitor now)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant