Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3c51718

Browse files
committedDec 1, 2021
Auto merge of #91275 - camelid:deny-test-warnings, r=jyn514
Deny warnings in rustdoc non-UI tests These warnings were silently ignored since they did not appear in a `.stderr` file and did not fail the test. With this change, warnings in tests are denied, causing the tests to fail if they have warnings. This change has already led me to find a bug in rustdoc (#91274) and a useless test (`src/test/rustdoc/primitive/primitive-generic-impl.rs`, though its uselessness is unrelated to its warnings). r? `@jyn514`
2 parents f04a2f4 + ac88bb7 commit 3c51718

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+118
-66
lines changed
 

‎src/test/rustdoc-js/summaries.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#![crate_type = "lib"]
22
#![crate_name = "summaries"]
33

4+
#![allow(rustdoc::broken_intra_doc_links)]
5+
46
//! This *summary* has a [link], [`code`], and [`Sidebar2`] intra-doc.
57
//!
68
//! This is the second paragraph. It should not be rendered.

0 commit comments

Comments
 (0)
Please sign in to comment.