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

facet-rs / facet / 19892705258
58%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2025 11:47AM 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 11:42AM UTC coverage: 58.839% (+0.02%) from 58.824%
19892705258

push

github

fasterthanlime
Fix function pointer comparison warning in define_attr_grammar!

The macro generates enums with PartialEq derived, but some variants contain
function pointers (DefaultInPlaceFn, SkipSerializingIfFn, etc.). Comparing
function pointers is unreliable across codegen units.

Instead of deriving PartialEq, generate a manual implementation that:
- Uses regular equality for unit, string, char, and struct variants
- Always returns false for function pointer variants (comparison is meaningless)
- Uses core::ptr::eq for Shape references

Fixes #1001

20 of 23 new or added lines in 1 file covered. (86.96%)

1 existing line in 1 file now uncovered.

20533 of 34897 relevant lines covered (58.84%)

538.51 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
63.93
1.2% facet-macros-impl/src/attr_grammar/make_parse_attr.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% facet/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 19892705258.1 03 Dec 2025 11:46AM UTC 171
58.84
GitHub Action Run
Source Files on build 19892705258
  • Tree
  • List 171
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9f597802 on github
  • Prev Build on main (#19884224451)
  • Next Build on main (#19894536989)
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