]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #67850 - GuillaumeGomez:err-codes-checkup, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Mon, 13 Jan 2020 12:49:12 +0000 (12:49 +0000)
committerbors <bors@rust-lang.org>
Mon, 13 Jan 2020 12:49:12 +0000 (12:49 +0000)
commitbf84eb538fd16743240434b3e837b36c35719fee
treeb9bdb0082e4b4341905a42c9d3cef95e126f5d78
parentaf958046e5855a4254831102b502f57dafa40f69
parent5b7d64e9473216dc8650ca5f910100389ab91726
Auto merge of #67850 - GuillaumeGomez:err-codes-checkup, r=Mark-Simulacrum

Error codes checkup and rustdoc test fix

This PR does a few things:

 * fix how rustdoc checks that an error code has been thrown (it only checked for "E0XXX" so if it appeared in the output because the file has it in its name or wherever, it passed the test, which was incorrect)
 * fix the failing code examples that weren't throwing the expected error code
src/librustdoc/test.rs