From ffb5a4c26960960f526719d9b333df80119fef3c Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 15 Aug 2019 17:59:01 +0200 Subject: Include precedence parsing in parser macros --- dhall_syntax/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'dhall_syntax/src/lib.rs') diff --git a/dhall_syntax/src/lib.rs b/dhall_syntax/src/lib.rs index 193c6ea..8406595 100644 --- a/dhall_syntax/src/lib.rs +++ b/dhall_syntax/src/lib.rs @@ -1,5 +1,6 @@ #![feature(trace_macros)] #![feature(slice_patterns)] +#![feature(try_blocks)] #![allow( clippy::many_single_char_names, clippy::should_implement_trait, -- cgit v1.2.3 From 509743469035582d916e6a2f331fd5018c81447e Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 16 Aug 2019 11:11:28 +0200 Subject: Use `!` type instead of custom empty type --- dhall_syntax/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'dhall_syntax/src/lib.rs') diff --git a/dhall_syntax/src/lib.rs b/dhall_syntax/src/lib.rs index 8406595..4566e64 100644 --- a/dhall_syntax/src/lib.rs +++ b/dhall_syntax/src/lib.rs @@ -1,6 +1,7 @@ #![feature(trace_macros)] #![feature(slice_patterns)] #![feature(try_blocks)] +#![feature(never_type)] #![allow( clippy::many_single_char_names, clippy::should_implement_trait, -- cgit v1.2.3 From 8eb169713ea1220f2d515391c08d34509d75ab73 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 16 Aug 2019 10:34:10 +0200 Subject: Match on rules in parser instead of on ParsedValues --- dhall_syntax/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'dhall_syntax/src/lib.rs') diff --git a/dhall_syntax/src/lib.rs b/dhall_syntax/src/lib.rs index 4566e64..e4a6077 100644 --- a/dhall_syntax/src/lib.rs +++ b/dhall_syntax/src/lib.rs @@ -2,6 +2,7 @@ #![feature(slice_patterns)] #![feature(try_blocks)] #![feature(never_type)] +#![feature(bind_by_move_pattern_guards)] #![allow( clippy::many_single_char_names, clippy::should_implement_trait, -- cgit v1.2.3