enum-path 0.1.0

Derive FromStr and Display impls for enums that follow a hierarchical path-like serialization scheme
Documentation
1
2
3
4
5
6
7
8
//! Compile-fail tests verifying the proc-macro emits useful errors.

#[test]
fn uniqueness_errors()
{
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/*.rs");
}