Skip to content

Commit cc39abb

Browse files
committed
librbml: deny warnings in doctests
1 parent 8100f7f commit cc39abb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mk/tests.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system \
2626
alloc_jemalloc,$(TARGET_CRATES)) \
2727
collectionstest coretest
2828
TEST_DOC_CRATES = $(DOC_CRATES) arena flate fmt_macros getopts graphviz \
29-
log rand
29+
log rand rbml
3030
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \
3131
rustc_trans rustc_lint,\
3232
$(HOST_CRATES))

src/librbml/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@
121121
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
122122
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
123123
html_root_url = "https://doc.rust-lang.org/nightly/",
124-
html_playground_url = "https://play.rust-lang.org/")]
124+
html_playground_url = "https://play.rust-lang.org/",
125+
test(attr(deny(warnings))))]
125126

126127
#![feature(rustc_private)]
127128
#![feature(staged_api)]

0 commit comments

Comments
 (0)