From d31c62339c819649d98ff789797ae22d2a0b97d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Fri, 5 Mar 2021 19:28:16 +0100 Subject: fix some warnings --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib.rs') 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); -- cgit v1.2.1