damask 0.8.0

Damask: React-like, compile-time components for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Compile-fail coverage for the `Component` derive's attribute diagnostics.
//!
//! These cases fail during attribute parsing — before template resolution — so
//! they need no `.dmk` files and produce machine-independent error messages,
//! which keeps the `.stderr` snapshots portable. Template/parse error paths are
//! covered by unit tests in `damask-macros` and `damask-template`, because file
//! resolution and absolute paths do not survive trybuild's sandbox cleanly.

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