diff options
| author | Kevin Butler <haqkrs@gmail.com> | 2015-11-03 14:03:22 +0000 |
|---|---|---|
| committer | Kevin Butler <haqkrs@gmail.com> | 2015-11-12 05:15:29 +0000 |
| commit | 89a8203898fc9e207e6f6b680491b9cc0a568b9e (patch) | |
| tree | f39f29b9308fe00ac89007c7baca6562bcaa708d | |
| parent | 7dbff09e5736da1e35ece948b5f0e3b2f6e384c2 (diff) | |
| download | rust-89a8203898fc9e207e6f6b680491b9cc0a568b9e.tar.gz rust-89a8203898fc9e207e6f6b680491b9cc0a568b9e.zip | |
libarena: deny warnings in doctests
| -rw-r--r-- | mk/tests.mk | 2 | ||||
| -rw-r--r-- | src/libarena/lib.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mk/tests.mk b/mk/tests.mk index 052d0c18ed4..0f69ddf2d7f 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -25,7 +25,7 @@ $(eval $(call RUST_CRATE,collectionstest)) TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system libc \ alloc_jemalloc,$(TARGET_CRATES)) \ collectionstest coretest -TEST_DOC_CRATES = $(DOC_CRATES) +TEST_DOC_CRATES = $(DOC_CRATES) arena TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \ rustc_trans rustc_lint,\ $(HOST_CRATES)) diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index 5bc1c44e1b1..2234d3608f3 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -28,7 +28,8 @@ #![crate_type = "dylib"] #![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_root_url = "https://doc.rust-lang.org/nightly/", + test(no_crate_inject, attr(deny(warnings))))] #![feature(alloc)] #![feature(box_syntax)] |
