From 80f4cfeef3e5dfc6f2aab36c2562b1c0d2b576d8 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 2 May 2019 20:19:45 +0200 Subject: Update dhall-lang submodule --- dhall/src/binary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall') diff --git a/dhall/src/binary.rs b/dhall/src/binary.rs index 7ded3a5..cadd456 100644 --- a/dhall/src/binary.rs +++ b/dhall/src/binary.rs @@ -30,7 +30,7 @@ fn cbor_value_to_dhall(data: &cbor::Value) -> Result { "Type" => Const(Const::Type), "Kind" => Const(Const::Kind), "Sort" => Const(Const::Sort), - s => Var(V(Label::from(s), 0)), + _ => Err(DecodeError::WrongFormatError("builtin".to_owned()))?, }, }, U64(n) => Var(V(Label::from("_"), *n as usize)), -- cgit v1.2.3