]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #91275 - camelid:deny-test-warnings, r=jyn514
authorbors <bors@rust-lang.org>
Wed, 1 Dec 2021 16:41:52 +0000 (16:41 +0000)
committerbors <bors@rust-lang.org>
Wed, 1 Dec 2021 16:41:52 +0000 (16:41 +0000)
commit3c51718ae7ae3160058e220b879d2a69533973a7
tree0472f31a7523826bd9ae4d9a2af2a4312b95aeb6
parentf04a2f4b8e89eac1119061ea2055d33c97e618b4
parentac88bb7525bd4971fdacc25b8f1202b0204f338b
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`