summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorkyren <kerriganw@gmail.com>2018-01-21 20:08:51 -0500
committerkyren <kerriganw@gmail.com>2018-01-21 20:08:51 -0500
commit79ba909db02b1780e7d8bfba3f95066352541282 (patch)
treebde7c6b03db67744e0001cd26fa02556735f9119 /src/lib.rs
parent685fc12aad6c645b243e0eae4fcc1fc23112a10c (diff)
downloadmlua-79ba909db02b1780e7d8bfba3f95066352541282.zip
Experimentally use the `failure` crate for errors
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4f69581..caf3659 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -40,6 +40,8 @@
// warnings at all.
#![doc(test(attr(deny(warnings))))]
+#[cfg_attr(test, macro_use)]
+extern crate failure;
extern crate libc;
mod ffi;