shebling-codegen 0.0.0

Utility procedural macros for the `shebling` crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use trybuild::TestCases;

#[test]
fn test() {
    let t = TestCases::new();

    // #[derive(New)] tests
    t.pass("tests/cases/new_boxed.rs");
    t.pass("tests/cases/new_into.rs");
    t.compile_fail("tests/cases/new_invalid_attr.rs");

    // #[struct_enum] tests
    t.pass("tests/cases/struct_enum_generics.rs");
}