From: Felix Ableitner Date: Fri, 11 Dec 2020 17:43:34 +0000 (+0100) Subject: fix warning X-Git-Url: http://these/git/%7B%24%7B%60data:application/static/%7B%7D/inbox?a=commitdiff_plain;h=5ae3f59092116731b04ab940c5c896573584fbcf;p=lemmy.git fix warning --- 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;