• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facet-rs / facet / 20100700279 / 1
58%
main: 58%

Build:
DEFAULT BRANCH: main
Ran 10 Dec 2025 01:45PM UTC
Files 218
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Dec 2025 01:43PM UTC coverage: 58.618% (+0.01%) from 58.607%
20100700279.1

push

github

fasterthanlime
fix: handle transparent structs in untagged enum variant resolution

When the solver analyzes untagged enum variants for field matching, it
now properly unwraps transparent wrappers and proxy types to find the
actual fields that appear in the serialized format.

Previously, a variant like `Linear(Curve64)` where `Curve64` is a
transparent wrapper around `GCurve<f64, f64>` (which uses a proxy
`GCurveProxy<f64, f64>`) would fail to match JSON like
`{"x":[0.0,1.0],"y":[0.22,0.25]}` because the solver only saw the
transparent struct's single tuple field, not the proxy's x/y fields.

The fix adds `unwrap_to_effective_shape()` which recursively unwraps:
1. Transparent wrappers (shape.inner)
2. Proxy types (shape.proxy)

This ensures the solver sees the actual fields used for serialization.

Fixes #1191

27123 of 46271 relevant lines covered (58.62%)

615.86 hits per line

Source Files on job 20100700279.1
  • Tree
  • List 218
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20100700279
  • eaae4b56 on github
  • Prev Job for on main (#20097965849.1)
  • Next Job for on main (#20102737478.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc