Skip to content

Commit

Permalink
Silence warnings caused by Diesel on Rust >=1.29.
Browse files Browse the repository at this point in the history
I expect this to be fixed in a future release of Diesel
  • Loading branch information
maghoff committed Oct 27, 2018
1 parent 58a859b commit a20117a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit a20117a

Please sign in to comment.