diff options
Diffstat (limited to '')
-rw-r--r-- | dhall/src/lib.rs | 8 | ||||
-rw-r--r-- | dhall_generator/src/derive.rs | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/dhall/src/lib.rs b/dhall/src/lib.rs index 883bf05..544df6e 100644 --- a/dhall/src/lib.rs +++ b/dhall/src/lib.rs @@ -124,14 +124,14 @@ mod tests; mod parser; mod binary; -mod imports; -mod normalize; -mod traits; -mod typecheck; /// When manipulating Dhall expressions goes wrong. pub mod error; pub mod expr; +mod imports; +mod normalize; mod serde; +mod traits; +mod typecheck; /// Deserialization of Dhall expressions into Rust pub mod de { diff --git a/dhall_generator/src/derive.rs b/dhall_generator/src/derive.rs index 208c98b..740081a 100644 --- a/dhall_generator/src/derive.rs +++ b/dhall_generator/src/derive.rs @@ -174,7 +174,8 @@ pub fn derive_simple_static_type_inner( let ident = &input.ident; let tokens = quote! { - impl #impl_generics ::dhall::de::SimpleStaticType for #ident #ty_generics + 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> { |