daft-derive 0.1.7

Derive macro for daft
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! UI tests.
//!
//! This is a separate binary from `integration_test.rs` because
//! `integration_test.rs` actually uses the macro under consideration -- it
//! might fail to compile, but we still want to see what the UI tests say.
//!
//! (It might make sense to move integration_test.rs to the daft crate in the
//! future.)

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