Skip to content

Commit 57f0ccf

Browse files
committed
Deny warnings when testing
1 parent 51cd32c commit 57f0ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@
361361
//! characters in the search text and `m` is the number of instructions in a
362362
//! compiled expression.
363363
364-
#![allow(unknown_features)]
365364
#![feature(macro_rules, slicing_syntax, globs)]
366365
#![deny(missing_docs)]
366+
#![cfg_attr(test, deny(warnings))]
367367
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
368368
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
369369
html_root_url = "http://doc.rust-lang.org/regex/")]

0 commit comments

Comments
 (0)