mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 22:24:14 +00:00
12 lines
229 B
Rust
12 lines
229 B
Rust
extern crate tools;
|
|
|
|
use tools::{
|
|
generate, Verify
|
|
};
|
|
|
|
#[test]
|
|
fn verify_template_generation() {
|
|
if let Err(error) = generate(Verify) {
|
|
panic!("{}. Please update it by running `cargo gen-syntax`", error);
|
|
}
|
|
}
|