adze-macro 0.8.0

Procedural macros for Rust Sitter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Compile-fail tests for adze macros
//!
//! These tests ensure that invalid grammar definitions produce
//! helpful error messages at compile time.

#[test]
#[ignore = "UI test infrastructure needs adze crate dependency configuration in trybuild environment"]
fn ui() {
    let t = trybuild::TestCases::new();

    // Tests for invalid grammar definitions
    t.compile_fail("tests/ui/invalid_grammar_*.rs");
    // TODO: Re-enable valid grammar tests once macros stabilize
    // t.pass("tests/ui/valid_grammar_*.rs");
}