Commit Graph

6 Commits

Author SHA1 Message Date
Justus Flügel ff32d81cb0
Simplify the trait bound store and just register where clauses directly
Signed-off-by: Justus Flügel <justusfluegel@gmail.com>
2025-12-17 20:39:42 +01:00
Justus Fluegel 89d30a3b37
Iron out some bugs
Signed-off-by: Justus Fluegel <justusfluegel@gmail.com>
Signed-off-by: Justus Flügel <justusfluegel@gmail.com>
2025-12-17 20:36:28 +01:00
Justus Fluegel 1a3a4c224a
Add required bounds to derived impl
This is implemented using a new TypeBoundsStore struct which tracks
usage of types during parsing and stores required bounds for generics,
trying to use some heuristics to remove unneeded bounds.

Signed-off-by: Justus Fluegel <justusfluegel@gmail.com>
Signed-off-by: Justus Flügel <justusfluegel@gmail.com>
2025-12-17 20:36:21 +01:00
Gavrilikhin Daniil 88d00e0e20
feat(derive): Allow optional sources in derive (#301)
Fixes: https://github.com/zkat/miette/issues/217
2023-10-20 20:50:15 -07:00
jtroo a215720576
feat(deps): update to syn2 (#247)
Fixes: https://github.com/zkat/miette/issues/243
2023-03-29 18:11:14 -07:00
Kat Marchán f87b158b22 feat(labels): replace snippet stuff with simpler labels (#62) 2021-09-22 16:34:21 -07:00