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

facet-rs / facet / 19883129620
58%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2025 05:12AM UTC
Jobs 1
Files 171
Run time 1min
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

03 Dec 2025 05:07AM UTC coverage: 58.823% (-0.07%) from 58.895%
19883129620

push

github

fasterthanlime
Fix Option<Enum> variant detection with niche optimization

When peeking at Option<Enum> where the inner enum uses niche
optimization, the previous "all bytes zero = None" heuristic was
incorrect. For enums like `#[repr(u8)] enum E { Variant }`, Rust uses
a non-zero value to represent None, not zero.

Now uses OptionVTable::is_some_fn to correctly determine the active
variant for Option types, which handles all niche optimization cases.

Fixes #998

11 of 12 new or added lines in 1 file covered. (91.67%)

29 existing lines in 1 file now uncovered.

20515 of 34876 relevant lines covered (58.82%)

538.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
45.45
-16.52% facet-reflect/src/peek/enum_.rs

Uncovered Existing Lines

Lines Coverage ∆ File
29
45.45
-16.52% facet-reflect/src/peek/enum_.rs
Jobs
ID Job ID Ran Files Coverage
1 19883129620.1 03 Dec 2025 05:12AM UTC 171
58.82
GitHub Action Run
Source Files on build 19883129620
  • Tree
  • List 171
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2d4d5c05 on github
  • Prev Build on main (#19879972141)
  • Next Build on main (#19884224451)
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