Skip to content

Commit

Permalink
auto merge of #20786 : brson/rust/rustdocwarnings, r=huonw
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jan 9, 2015
2 parents 32545a0 + a728b4c commit 20bce44
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
");
}
Expand Down

0 comments on commit 20bce44

Please sign in to comment.