diff options
author | Nadrieril | 2019-05-07 12:30:34 +0200 |
---|---|---|
committer | Nadrieril | 2019-05-07 12:30:34 +0200 |
commit | 542e316e456b676da791585379ba7da9ebb343f3 (patch) | |
tree | fddbdb962be1375c01df167e0c0341e8748f2cc7 /dhall_proc_macros | |
parent | 55b5be3407a8528bc47482a591b168a7cb0ce91e (diff) |
Fix derive
Diffstat (limited to 'dhall_proc_macros')
-rw-r--r-- | dhall_proc_macros/src/derive.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_proc_macros/src/derive.rs b/dhall_proc_macros/src/derive.rs index 1ccb28b..a5f0925 100644 --- a/dhall_proc_macros/src/derive.rs +++ b/dhall_proc_macros/src/derive.rs @@ -169,9 +169,9 @@ pub fn derive_simple_static_type_inner( for #ident #ty_generics #where_clause { fn get_simple_static_type() -> - ::dhall::expr::SimpleType { + ::dhall::de::SimpleType { #(#assertions)* - ::dhall::expr::SimpleType::from(#get_type) + ::dhall::de::SimpleType::from(#get_type) } } }; |