about summary refs log tree commit diff
path: root/src/libcollections/lib.rs
diff options
context:
space:
mode:
authorKevin Butler <haqkrs@gmail.com>2015-11-03 14:49:33 +0000
committerKevin Butler <haqkrs@gmail.com>2015-11-12 05:15:55 +0000
commitbbf964afea55f627eee047988d1cc44c386b23ba (patch)
treec3de7575ddd97d251d64b9ee3401e0456b0edf66 /src/libcollections/lib.rs
parent89a8203898fc9e207e6f6b680491b9cc0a568b9e (diff)
libcollections: deny warnings in doctests
Diffstat (limited to 'src/libcollections/lib.rs')
-rw-r--r--src/libcollections/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs
index 670c32776df..54b98c6e179 100644
--- a/src/libcollections/lib.rs
+++ b/src/libcollections/lib.rs
@@ -27,7 +27,7 @@
        html_root_url = "https://doc.rust-lang.org/nightly/",
        html_playground_url = "https://play.rust-lang.org/",
        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))))]
 
 #![allow(trivial_casts)]
 #![cfg_attr(test, allow(deprecated))] // rand