From 4c159640e5ee77ffa48b85a5bffa56350cf933ef Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 4 May 2019 17:59:05 +0200 Subject: Make SubExpr generic in the variable labels type --- dhall/tests/traits.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dhall/tests') diff --git a/dhall/tests/traits.rs b/dhall/tests/traits.rs index 6604c06..cf68d7d 100644 --- a/dhall/tests/traits.rs +++ b/dhall/tests/traits.rs @@ -1,11 +1,11 @@ #![feature(proc_macro_hygiene)] use dhall::de::SimpleStaticType; use dhall_proc_macros; -use dhall_syntax::{SubExpr, X}; +use dhall_syntax::{Label, SubExpr, X}; #[test] fn test_static_type() { - fn mktype(x: SubExpr) -> dhall::expr::SimpleType { + fn mktype(x: SubExpr) -> dhall::expr::SimpleType { x.into() } -- cgit v1.2.3