structified_enum 0.1.0

Marcos to structify unit-like enum with discriminants
Documentation
1
2
3
4
5
6
7
8
use trybuild::TestCases;

#[test]
fn test_compile_fail() {
    let t = TestCases::new();
    t.pass("tests/0*.rs");
    t.compile_fail("tests/failed/*.rs")
}