Skip to content

Commit

Permalink
Allow unused_braces for ignore nightly doc builds
Browse files Browse the repository at this point in the history
  • Loading branch information
martell committed Apr 25, 2020
1 parent 3f67533 commit b8e913a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diesel_derives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
clippy::items_after_statements,
clippy::used_underscore_binding
)]
// Nightly Regression https://github.com/rust-lang/rust/issues/70814
#![cfg_attr(feature = "nightly", allow(unused_braces))]
#![cfg_attr(feature = "nightly", feature(proc_macro_diagnostic, proc_macro_span))]

extern crate proc_macro;
Expand Down
2 changes: 2 additions & 0 deletions diesel_migrations/migrations_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
clippy::items_after_statements,
clippy::used_underscore_binding
)]
// Nightly Regression https://github.com/rust-lang/rust/issues/70814
#![cfg_attr(feature = "nightly", allow(unused_braces))]
#![cfg_attr(test, allow(clippy::option_unwrap_used, clippy::result_unwrap_used))]
extern crate migrations_internals;
extern crate proc_macro;
Expand Down

0 comments on commit b8e913a

Please sign in to comment.