summaryrefslogtreecommitdiff
path: root/dhall/src/tests.rs
diff options
context:
space:
mode:
authorNadrieril2019-08-15 22:12:06 +0200
committerNadrieril2019-08-15 22:12:06 +0200
commit816f616479cfa277e19b2e69be6c41bc8210e032 (patch)
treeaee9e97e364fb76558f8617bf046aa77a4db3223 /dhall/src/tests.rs
parent9e38d92bf481da8e34081c81c813acd802efa016 (diff)
Disable some unused unstable features
Diffstat (limited to 'dhall/src/tests.rs')
-rw-r--r--dhall/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/tests.rs b/dhall/src/tests.rs
index 15bc97a..d269523 100644
--- a/dhall/src/tests.rs
+++ b/dhall/src/tests.rs
@@ -204,7 +204,7 @@ pub fn run_test(
match feature {
Parser => {
let err = parse_file_str(&file_path).unwrap_err();
- match err {
+ match &err {
Error::Parse(_) => {}
Error::IO(e)
if e.kind() == std::io::ErrorKind::InvalidData => {}