aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-07-01 15:52:33 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-07-01 16:10:43 +0200
commit8bb3de0a3e586da6b719abedcfcc58e901eddc12 (patch)
tree9f0773028faf753ba2cdf58e58b255aec3f9c0b1 /askama_derive
parent83b03cd485694483df4b435979b7a3184a208e48 (diff)
downloadaskama-8bb3de0a3e586da6b719abedcfcc58e901eddc12.tar.gz
askama-8bb3de0a3e586da6b719abedcfcc58e901eddc12.tar.bz2
askama-8bb3de0a3e586da6b719abedcfcc58e901eddc12.zip
Stop eliding lifetimes in paths
Diffstat (limited to 'askama_derive')
-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> {