Skip to content

Commit 20bce44

Browse files
committed
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.
2 parents 32545a0 + a728b4c commit 20bce44

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustdoc/test.rs

-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ pub fn maketest(s: &str, cratename: Option<&str>, lints: bool, dont_insert_main:
215215
let mut prog = String::new();
216216
if lints {
217217
prog.push_str(r"
218-
#![deny(warnings)]
219218
#![allow(unused_variables, unused_assignments, unused_mut, unused_attributes, dead_code)]
220219
");
221220
}

0 commit comments

Comments
 (0)