From: Felix Ableitner Date: Fri, 11 Dec 2020 17:43:34 +0000 (+0100) Subject: fix warning X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7Brss%7D?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;