Skip to content

Commit

Permalink
librbml: deny warnings in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryman committed Nov 12, 2015
1 parent 86c55e7 commit a715dd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mk/tests.mk
Expand Up @@ -26,7 +26,7 @@ TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system libc \
alloc_jemalloc,$(TARGET_CRATES)) \
collectionstest coretest
TEST_DOC_CRATES = $(DOC_CRATES) arena flate fmt_macros getopts graphviz \
log rand
log rand rbml
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \
rustc_trans rustc_lint,\
$(HOST_CRATES))
Expand Down
3 changes: 2 additions & 1 deletion src/librbml/lib.rs
Expand Up @@ -121,7 +121,8 @@
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
html_root_url = "https://doc.rust-lang.org/nightly/",
html_playground_url = "https://play.rust-lang.org/")]
html_playground_url = "https://play.rust-lang.org/",
test(attr(deny(warnings))))]

#![feature(rustc_private)]
#![feature(staged_api)]
Expand Down

0 comments on commit a715dd5

Please sign in to comment.