steveklabnik / rustdoc

Not a real thing, see https://github.com/rust-lang/rust for rustdoc's actual source code
https://github.com/rust-lang/rust
104 stars 22 forks source link

use enums for test failure variants #213

Closed euclio closed 6 years ago

euclio commented 6 years ago

This pull request simplifies the testing logic and makes the causes easier to test. It also upgrades failure to 1.1.

It also fixes a bug where the underlying causes of failures were being swallowed up.

I feel like I finally understand failure 😅