Silence warnings caused by Diesel on Rust >=1.29, also in build.rs

This commit is contained in:
Magnus Hovland Hoff 2018-10-27 15:30:33 +02:00
parent a20117a42c
commit f96cc8dac5

View file

@ -1,3 +1,8 @@
// 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)]
#[macro_use] extern crate quote; #[macro_use] extern crate quote;
#[macro_use] extern crate diesel; #[macro_use] extern crate diesel;
extern crate diesel_migrations; extern crate diesel_migrations;