diff --git a/testing/tests/inheritance.rs b/testing/tests/inheritance.rs index 87232b37..926008f6 100644 --- a/testing/tests/inheritance.rs +++ b/testing/tests/inheritance.rs @@ -329,14 +329,9 @@ fn test_flat_deep() { #[derive(Template)] #[template(path = "let-base.html")] +#[allow(dead_code)] struct LetBase {} -#[test] -fn test_let_base() { - let t = LetBase {}; - assert_eq!(t.render().unwrap(), ""); -} - #[derive(Template)] #[template(path = "let-child.html")] struct LetChild {} diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 40121288..a8ecb76f 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -345,6 +345,7 @@ struct FunctionTemplate; impl FunctionTemplate { #[allow(clippy::trivially_copy_pass_by_ref)] + #[allow(dead_code)] fn world3(&self, s: &str, v: u8) -> String { format!("world{s}{v}") }