sumtype 0.4.0

Generate zerocost anonymous sum types that implement common traits
Documentation
1
2
3
4
5
6
#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.pass("tests/ui/pass/*.rs");
    t.compile_fail("tests/ui/fail/*.rs");
}