diff options
| author | bors <bors@rust-lang.org> | 2015-01-09 04:14:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-09 04:14:53 +0000 |
| commit | 20bce44810eb5146f609b4362990ef8835e55bb5 (patch) | |
| tree | efbaed00d403cb88dd608c9d7ff5f09f70a10458 | |
| parent | 32545a0460755727d8c91c6ddad173964128a74a (diff) | |
| parent | a728b4c9b8936ec63f88a3d8a6e5622e43ee4fc5 (diff) | |
| download | rust-20bce44810eb5146f609b4362990ef8835e55bb5.tar.gz rust-20bce44810eb5146f609b4362990ef8835e55bb5.zip | |
auto merge of #20786 : brson/rust/rustdocwarnings, r=huonw
Because we are warning about unstable APIs and there are many of these yet, this creates a high likelyhood doc tests will fail. This doesn't seem right as a blanket policy to me anyway, though certainly we want it in std. Probably more appropriate to add a rustdoc option.
| -rw-r--r-- | src/librustdoc/test.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/test.rs b/src/librustdoc/test.rs index 8e0f4b2d443..38ce7389546 100644 --- a/src/librustdoc/test.rs +++ b/src/librustdoc/test.rs @@ -215,7 +215,6 @@ pub fn maketest(s: &str, cratename: Option<&str>, lints: bool, dont_insert_main: let mut prog = String::new(); if lints { prog.push_str(r" -#![deny(warnings)] #![allow(unused_variables, unused_assignments, unused_mut, unused_attributes, dead_code)] "); } |
