aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6b1bc08..adb7eed 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -802,10 +802,6 @@ pub struct Prog {
#[cfg(test)]
mod tests {
- use crate::error::ErrorKind;
-
- use super::run_string;
-
#[macro_export]
macro_rules! assert_errs {
($result:expr, [ $( $kind:pat ),* ]) => {
@@ -887,6 +883,7 @@ mod tests {
#[test]
fn $fn() {
use crate::error::ErrorKind;
+ #[allow(unused_imports)]
use crate::Type;
let file = std::path::Path::new($path);