Skip to content

Commit 0226fa1

Browse files
committed
libflate: deny warnings in doctests
1 parent 82784cb commit 0226fa1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $(eval $(call RUST_CRATE,collectionstest))
2525
TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system libc \
2626
alloc_jemalloc,$(TARGET_CRATES)) \
2727
collectionstest coretest
28-
TEST_DOC_CRATES = $(DOC_CRATES) arena
28+
TEST_DOC_CRATES = $(DOC_CRATES) arena flate
2929
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \
3030
rustc_trans rustc_lint,\
3131
$(HOST_CRATES))

src/libflate/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
#![crate_type = "dylib"]
2424
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
2525
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
26-
html_root_url = "https://doc.rust-lang.org/nightly/")]
26+
html_root_url = "https://doc.rust-lang.org/nightly/",
27+
test(attr(deny(warnings))))]
2728

2829
#![feature(libc)]
2930
#![feature(staged_api)]

0 commit comments

Comments
 (0)