about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorKevin Butler <haqkrs@gmail.com>2015-11-03 14:02:48 +0000
committerKevin Butler <haqkrs@gmail.com>2015-11-12 05:15:08 +0000
commit7dbff09e5736da1e35ece948b5f0e3b2f6e384c2 (patch)
tree0f1344603289ff5212ffde5116b70417013c698d /src/liballoc
parent35decad78124b251822eb4666638455224d3f0c8 (diff)
downloadrust-7dbff09e5736da1e35ece948b5f0e3b2f6e384c2.tar.gz
rust-7dbff09e5736da1e35ece948b5f0e3b2f6e384c2.zip
liballoc: deny warnings in doctests
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 899e7de4ed5..4113f67e617 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -70,7 +70,7 @@
        html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
        html_root_url = "https://doc.rust-lang.org/nightly/",
        issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
-       test(no_crate_inject))]
+       test(no_crate_inject, attr(allow(unused_variables), deny(warnings))))]
 #![no_std]
 #![cfg_attr(not(stage0), needs_allocator)]