summaryrefslogtreecommitdiff
path: root/dhall_proc_macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_proc_macros/src')
-rw-r--r--dhall_proc_macros/src/derive.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_proc_macros/src/derive.rs b/dhall_proc_macros/src/derive.rs
index bcefb17..1ccb28b 100644
--- a/dhall_proc_macros/src/derive.rs
+++ b/dhall_proc_macros/src/derive.rs
@@ -168,8 +168,8 @@ pub fn derive_simple_static_type_inner(
impl #impl_generics ::dhall::de::SimpleStaticType
for #ident #ty_generics
#where_clause {
- fn get_simple_static_type<'get_simple_static_type>() ->
- ::dhall::expr::SimpleType<'get_simple_static_type> {
+ fn get_simple_static_type() ->
+ ::dhall::expr::SimpleType {
#(#assertions)*
::dhall::expr::SimpleType::from(#get_type)
}