From ffc9b032e79eda6875d078f42aef787dbbc4652d Mon Sep 17 00:00:00 2001 From: kyren Date: Wed, 2 Aug 2017 17:12:34 -0400 Subject: Riiight, doctests don't even *show* warnings by default, this flag is important. --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 8ee1fdf..d2d7de2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,6 @@ +// Deny warnings inside doc tests / examples +#![doc(test(attr(deny(warnings))))] + extern crate libc; pub mod ffi; -- cgit v1.2.3