From 5ae3f59092116731b04ab940c5c896573584fbcf Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 11 Dec 2020 18:43:34 +0100 Subject: [PATCH] fix warning --- lemmy_db/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lemmy_db/src/lib.rs b/lemmy_db/src/lib.rs index b155ce13..57ca24eb 100644 --- a/lemmy_db/src/lib.rs +++ b/lemmy_db/src/lib.rs @@ -4,6 +4,8 @@ extern crate diesel; extern crate strum_macros; #[macro_use] extern crate lazy_static; +// this is used in tests +#[allow(unused_imports)] #[macro_use] extern crate diesel_migrations; -- 2.44.1