diff options
Diffstat (limited to 'dhall/tests')
-rw-r--r-- | dhall/tests/traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/tests/traits.rs b/dhall/tests/traits.rs index 15db2a5..6604c06 100644 --- a/dhall/tests/traits.rs +++ b/dhall/tests/traits.rs @@ -5,7 +5,7 @@ use dhall_syntax::{SubExpr, X}; #[test] fn test_static_type() { - fn mktype(x: SubExpr<X, X>) -> dhall::expr::SimpleType<'static> { + fn mktype(x: SubExpr<X, X>) -> dhall::expr::SimpleType { x.into() } |