Skip to content

Commit 55ad2d8

Browse files
committed
Disable lints in rustdoc
1 parent 922c0e0 commit 55ad2d8

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/librustdoc/core.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ pub fn run_core(search_paths: SearchPaths,
214214
} else {
215215
vec![]
216216
},
217-
lint_cap: Some(lint::Forbid),
217+
lint_cap: Some(lint::Allow),
218218
cg,
219219
externs,
220220
target_triple: triple.unwrap_or(host_triple),

src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-test
12+
1113
#![deny(intra_doc_link_resolution_failure)]
1214

1315
/// [v2] //~ ERROR

src/test/rustdoc-ui/intra-links-warning.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-test
12+
1113
// compile-pass
1214

1315
//! Test with [Foo::baz], [Bar::foo], ...

0 commit comments

Comments
 (0)