Skip to content

Commit

Permalink
ci: deny warnings using RUSTFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Dec 26, 2020
1 parent 384f32a commit 72ecf6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ jobs:
env:
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"

coverage:
needs: [fmt]
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![cfg_attr(feature = "nightly", feature(specialization))]
#![allow(clippy::missing_safety_doc)] // FIXME (#698)
#![deny(warnings)]

//! Rust bindings to the Python interpreter.
//!
Expand Down Expand Up @@ -204,6 +203,8 @@ mod python;
pub mod type_object;
pub mod types;

fn foo() { }

/// The proc macros, which are also part of the prelude.
#[cfg(feature = "macros")]
pub mod proc_macro {
Expand Down

0 comments on commit 72ecf6f

Please sign in to comment.