From a20117a42c691d5fed4aef254456f0515717a345 Mon Sep 17 00:00:00 2001 From: Magnus Hovland Hoff Date: Sat, 27 Oct 2018 11:42:09 +0200 Subject: [PATCH] Silence warnings caused by Diesel on Rust >=1.29. I expect this to be fixed in a future release of Diesel --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 0967154..e1a63d2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,10 @@ #![recursion_limit="128"] // for diesel's infer_schema! +// Diesel causes many warnings of the following kind. I expect this to be +// fixed in a future release of Diesel. Currently used version of Diesel is +// 1.3.0. +#![allow(proc_macro_derive_resolution_fallback)] + #[cfg(test)] #[macro_use] extern crate matches; #[cfg(test)] #[macro_use] extern crate indoc;