mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Add basic lints to the HTML macro. * f * Fix the examples. * Fix nightly warning message tests. * apply code review suggestions * update error message * rebase onto master * remove unused props * remove console log * remove js void * fix according to PR comments Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>
8 lines
195 B
Rust
8 lines
195 B
Rust
#[allow(dead_code)]
|
|
#[cfg(feature = "lints")]
|
|
#[rustversion::attr(nightly, test)]
|
|
fn test_html_lints() {
|
|
let t = trybuild::TestCases::new();
|
|
t.compile_fail("tests/html_lints/fail.rs");
|
|
}
|