mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 07:20:55 +00:00
Fix tests warnings
This commit is contained in:
parent
3026829889
commit
353304ca34
@ -90,6 +90,7 @@ impl From<::serde_yaml::Error> for Error {
|
||||
mod tests {
|
||||
use super::Error;
|
||||
|
||||
#[allow(dead_code)]
|
||||
trait AssertSendSyncStatic: Send + Sync + 'static {}
|
||||
impl AssertSendSyncStatic for Error {}
|
||||
}
|
||||
|
@ -3,6 +3,7 @@ use askama::Template;
|
||||
macro_rules! test_size {
|
||||
($source:literal, $expected:expr) => {{
|
||||
#[derive(Template)]
|
||||
#[allow(dead_code)]
|
||||
#[template(source = $source, ext = "txt")]
|
||||
struct T(bool);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user