const-array-attrs 0.0.3

Attribute macros for const array.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[test]
fn tests() {
    let t = trybuild::TestCases::new();
    t.pass("examples/sorted.rs");
    t.pass("examples/keywords.rs");
    //t.compile_fail("tests/03-out-of-order.rs");
    //t.compile_fail("tests/04-variants-with-data.rs");
    //t.compile_fail("tests/05-match-expr.rs");
    //t.compile_fail("tests/06-pattern-path.rs");
    //t.compile_fail("tests/07-unrecognized-pattern.rs");
}