const-enum 0.1.0

Procedural derive macro for constant From trait implementations on enums based on repr type.
Documentation
1
2
3
4
5
6
#[test]
fn test_ui() {
    let t = trybuild::TestCases::new();
    t.pass("tests/ui/*-pass-*.rs");
    t.compile_fail("tests/ui/*-fail-*.rs");
}