about summary refs log tree commit diff
path: root/src/libterm
diff options
context:
space:
mode:
authorKevin Butler <haqkrs@gmail.com>2015-11-03 16:35:33 +0000
committerKevin Butler <haqkrs@gmail.com>2015-11-12 05:17:02 +0000
commitc0fc402ab6d663e16ef39af017a1a09f3b74050b (patch)
tree18a2548215b4c303999c5dffe084f72aefc4477c /src/libterm
parentd64e551248d73ca9657952e983d3d178d85d3608 (diff)
downloadrust-c0fc402ab6d663e16ef39af017a1a09f3b74050b.tar.gz
rust-c0fc402ab6d663e16ef39af017a1a09f3b74050b.zip
libterm: deny warnings in doctests
Diffstat (limited to 'src/libterm')
-rw-r--r--src/libterm/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index ced3a7d47d7..99bbd951766 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -53,7 +53,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))))]
 #![deny(missing_docs)]
 
 #![feature(box_syntax)]