libtest: deny warnings in doctests
This commit is contained in:
parent
c0fc402ab6
commit
8e23e2fbcb
|
@ -26,7 +26,7 @@ TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system libc \
|
||||||
alloc_jemalloc,$(TARGET_CRATES)) \
|
alloc_jemalloc,$(TARGET_CRATES)) \
|
||||||
collectionstest coretest
|
collectionstest coretest
|
||||||
TEST_DOC_CRATES = $(DOC_CRATES) arena flate fmt_macros getopts graphviz \
|
TEST_DOC_CRATES = $(DOC_CRATES) arena flate fmt_macros getopts graphviz \
|
||||||
log rand rbml serialize syntax term
|
log rand rbml serialize syntax term test
|
||||||
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \
|
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \
|
||||||
rustc_trans rustc_lint,\
|
rustc_trans rustc_lint,\
|
||||||
$(HOST_CRATES))
|
$(HOST_CRATES))
|
||||||
|
|
|
@ -32,7 +32,8 @@
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
#![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_favicon_url = "https://doc.rust-lang.org/favicon.ico",
|
||||||
html_root_url = "https://doc.rust-lang.org/nightly/")]
|
html_root_url = "https://doc.rust-lang.org/nightly/",
|
||||||
|
test(attr(deny(warnings))))]
|
||||||
|
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
|
|
Loading…
Reference in New Issue