libtest: deny warnings in doctests

This commit is contained in:
Kevin Butler
2015-11-03 16:37:29 +00:00
parent c0fc402ab6
commit 8e23e2fbcb
2 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,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(attr(deny(warnings))))]
#![feature(asm)]
#![feature(box_syntax)]