mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
13 lines
228 B
Rust
13 lines
228 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-kinds`", error);
|
|
}
|
|
}
|