diff options
author | Nadrieril | 2019-04-14 23:28:48 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-14 23:28:48 +0200 |
commit | ac2448ea2240db0d3ae8f7d3574ce7ddc2fd57f9 (patch) | |
tree | 9bf5f8324df818a22da4eae0e72989e8b039b64f /dhall_core/src | |
parent | beadb7a9641dda256e505b6ad13fed5de701b040 (diff) | |
parent | 642d9f4519e0b792fa40879d5692f146afde3442 (diff) |
Merge branch 'publish-improved_slice_patterns'
Diffstat (limited to '')
-rw-r--r-- | dhall_core/src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs index e520f05..cae6cbd 100644 --- a/dhall_core/src/parser.rs +++ b/dhall_core/src/parser.rs @@ -171,7 +171,7 @@ macro_rules! make_parser { #[allow(unused_imports)] use ParsedValue::*; #[allow(unreachable_code)] - let res: $o = iter_patterns::match_vec!($children; + let res: $o = improved_slice_patterns::match_vec!($children; $( [$($args)*] => $body, )* [x..] => Err( format!("Unexpected children: {:?}", x.collect::<Vec<_>>()) |