mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
8 lines
234 B
Rust
8 lines
234 B
Rust
#[allow(dead_code)]
|
|
#[rustversion::attr(stable(1.78), test)]
|
|
fn tests() {
|
|
let t = trybuild::TestCases::new();
|
|
t.pass("tests/function_component_attr/*-pass.rs");
|
|
t.compile_fail("tests/function_component_attr/*-fail.rs");
|
|
}
|