Skip to content

Commit

Permalink
Disable lints in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ollie27 committed Jul 27, 2018
1 parent 922c0e0 commit 55ad2d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ pub fn run_core(search_paths: SearchPaths,
} else {
vec![]
},
lint_cap: Some(lint::Forbid),
lint_cap: Some(lint::Allow),
cg,
externs,
target_triple: triple.unwrap_or(host_triple),
Expand Down
2 changes: 2 additions & 0 deletions src/test/rustdoc-ui/deny-intra-link-resolution-failure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-test

#![deny(intra_doc_link_resolution_failure)]

/// [v2] //~ ERROR
Expand Down
2 changes: 2 additions & 0 deletions src/test/rustdoc-ui/intra-links-warning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-test

// compile-pass

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

0 comments on commit 55ad2d8

Please sign in to comment.