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

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

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 09:37PM UTC
Files 190
Run time 9s
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

04 Dec 2025 09:35PM UTC coverage: 57.749% (+0.03%) from 57.723%
19944716089.1

push

github

fasterthanlime
fix(facet-reflect): remove unused steal_nth_field and fix default handling

This commit:
- Removes steal_nth_field method which was never used outside tests
- Removes HeistCancelledDifferentShapes error variant
- Updates fill_defaults to return Result and error when a field has
  #[facet(default)] but no default can be provided
- Keeps `make_t or $ty::default()` grammar which correctly uses the
  Rust field type's Default impl (not the Facet shape's)

The key insight: for opaque fields like `#[facet(opaque)] d: Option<T>`,
the grammar generates code using `Option<T>::default()` (which is None),
not `Opaque<Option<T>>::default()` (which doesn't exist).

Fixes #1075

22796 of 39474 relevant lines covered (57.75%)

502.5 hits per line

Source Files on job 19944716089.1
  • Tree
  • List 190
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19944716089
  • ba15778d on github
  • Prev Job for on main (#19942902815.1)
  • Next Job for on main (#19945465478.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