Skip to content

Commit 839501e

Browse files
Merge #1469
1469: Allow a new macro hygiene lint until we get Diesel 1.4 r=jtgeibel a=jtgeibel Because we deny warnings, this new lint will cause our CI to fail once it hits beta. Allowing `unknown_lints` is necessary because stable-1.28 isn't aware of this lint. This patch can be reverted as part of upgrading to Diesel 1.4 once that is released. See the [upstream PR] for more information. [upstream PR]: diesel-rs/diesel#1787 Co-authored-by: Justin Geibel <[email protected]>
2 parents 5824fbd + 1f9eef2 commit 839501e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/bin/update-downloads.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![deny(warnings)]
2+
#![allow(unknown_lints, proc_macro_derive_resolution_fallback)] // This can be removed after diesel-1.4
23

34
extern crate cargo_registry;
45
#[macro_use]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#![deny(missing_debug_implementations, missing_copy_implementations)]
88
#![deny(bare_trait_objects)]
99
#![recursion_limit = "128"]
10+
#![allow(unknown_lints, proc_macro_derive_resolution_fallback)] // This can be removed after diesel-1.4
1011

1112
extern crate ammonia;
1213
extern crate chrono;

src/tests/all.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![deny(warnings)]
2+
#![allow(unknown_lints, proc_macro_derive_resolution_fallback)] // This can be removed after diesel-1.4
23

34
extern crate cargo_registry;
45
extern crate chrono;

0 commit comments

Comments
 (0)