excelreader 2.1.3

Read Excel/CSV workbooks via ExcelReader's native ABI (open + schema-driven typed parse).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Compile-time behavior of `#[derive(ExcelMapper)]`.
//!
//! `pass/` must compile and run; `fail/` must be rejected with the exact diagnostic recorded in the
//! sibling `.stderr` file. Only macro-emitted (`syn::Error`) diagnostics belong in `fail/` - rustc's
//! own type errors get reworded between releases, which would make this suite fail on a toolchain
//! bump rather than on a real regression. Regenerate the expectations with
//! `TRYBUILD=overwrite cargo test --test derive_ui`.

#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.pass("tests/derive_ui/pass/*.rs");
    t.compile_fail("tests/derive_ui/fail/*.rs");
}