]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #60549 - euclio:doctest-panic-messages, r=GuillaumeGomez
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Wed, 29 May 2019 12:41:01 +0000 (14:41 +0200)
committerGitHub <noreply@github.com>
Wed, 29 May 2019 12:41:01 +0000 (14:41 +0200)
commit81869944469423c6b9d5e13de5fcab946f13b2dd
treef65c0ed59787e9dd04c6721084c19038ef821031
parent81970852e172c04322cbf8ba23effabeb491c83c
parent89d437ec76cab8153ada936c5d67ef2deb901eb4
Rollup merge of #60549 - euclio:doctest-panic-messages, r=GuillaumeGomez

do not print panic message on doctest failures

This PR cleans up rustdoc test output by silently unwinding on failure instead of using `panic!`. It also improves the clarity and consistency of the output on test failure, and adds test cases for failure modes that were previously untested.