From d9a2a77a19e56edd8eb96eba002e39bc7be3bde3 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 11 Apr 2019 20:45:43 +0200 Subject: Thread lifetimes through other newtypes Closes #55 --- dhall/tests/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall/tests') diff --git a/dhall/tests/traits.rs b/dhall/tests/traits.rs index 1e9b3c2..ef3e385 100644 --- a/dhall/tests/traits.rs +++ b/dhall/tests/traits.rs @@ -5,7 +5,7 @@ use dhall_generator::dhall_expr; #[test] fn test_static_type() { - fn mktype(x: SubExpr) -> dhall::expr::SimpleType { + fn mktype(x: SubExpr) -> dhall::expr::SimpleType<'static> { x.into() } -- cgit v1.2.3