]> Untitled Git - lemmy.git/commitdiff
fix warning
authorFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 17:43:34 +0000 (18:43 +0100)
committerFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 17:43:34 +0000 (18:43 +0100)
lemmy_db/src/lib.rs

index b155ce1398acc1b9e5a9b4607bb27eae2fdd7133..57ca24eb3c36d07d3866f5b376456bedbc148810 100644 (file)
@@ -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;