aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_derive/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs
index 1b6c02a..f97fa90 100644
--- a/askama_derive/src/lib.rs
+++ b/askama_derive/src/lib.rs
@@ -1,4 +1,4 @@
-extern crate proc_macro;
+#![deny(elided_lifetimes_in_paths)]
use askama_shared::heritage::{Context, Heritage};
use askama_shared::input::{Print, Source, TemplateInput};
@@ -71,7 +71,7 @@ fn build_template(ast: &syn::DeriveInput) -> Result<String, CompileError> {
}
fn find_used_templates(
- input: &TemplateInput,
+ input: &TemplateInput<'_>,
map: &mut HashMap<PathBuf, String>,
source: String,
) -> Result<(), CompileError> {