mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Add compiler flag for Yew lints * Use --cfg yew_lints in CI * Remove lints feature * bless the fail.stderr * Fix CI
8 lines
187 B
Rust
8 lines
187 B
Rust
#[allow(dead_code)]
|
|
#[cfg(yew_lints)]
|
|
#[rustversion::attr(nightly, test)]
|
|
fn test_html_lints() {
|
|
let t = trybuild::TestCases::new();
|
|
t.compile_fail("tests/html_lints/fail.rs");
|
|
}
|