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

facet-rs / facet / 18681425512

21 Oct 2025 10:48AM UTC coverage: 54.052% (-0.1%) from 54.168%
18681425512

push

github

fasterthanlime
use a more descriptive ReflectError variant

2 of 12 new or added lines in 1 file covered. (16.67%)

1350 existing lines in 33 files now uncovered.

4762 of 8810 relevant lines covered (54.05%)

40.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/facet-core/src/impls_std/path.rs
1
use crate::*;
2

3
unsafe impl Facet<'_> for std::path::PathBuf {
4
    const SHAPE: &'static Shape = &const {
5
        Shape::builder_for_sized::<Self>()
6
            .vtable(value_vtable!(std::path::PathBuf, |f, _opts| write!(
7
                f,
×
8
                "{}",
×
UNCOV
9
                Self::SHAPE.type_identifier
×
10
            )))
11
            .type_identifier("PathBuf")
12
            .ty(Type::User(UserType::Opaque))
13
            .def(Def::Scalar)
14
            .build()
15
    };
16
}
17

18
unsafe impl Facet<'_> for std::path::Path {
19
    const SHAPE: &'static Shape = &const {
20
        Shape::builder_for_unsized::<Self>()
21
            .vtable(value_vtable!(std::path::Path, |f, _opts| write!(
UNCOV
22
                f,
×
UNCOV
23
                "{}",
×
24
                Self::SHAPE.type_identifier
×
25
            )))
26
            .type_identifier("Path")
27
            .ty(Type::User(UserType::Opaque))
28
            .def(Def::Scalar)
29
            .build()
30
    };
31
}
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