viewpoint-js 0.4.3

Compile-time validated JavaScript macro for Viewpoint
Documentation
1
2
3
4
5
6
7
8
9
//! Compile-fail tests using trybuild.
//!
//! These tests verify that invalid JavaScript produces helpful compile-time errors.

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