Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that
Error
cannot be exhaustively matched on
This is going to be the "generic thing which can fail in a myriad of ways" type. I want to be able to have specific useful cases which you can recover from (e.g. no `Box<std::error::Error>`), but I don't want people to exhaustively match on it. Techincally adding a variant to this is still a violation of [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md), but if you're actually matching against `__Nonexhaustive` and expected it not to break eventually, you knew what was coming. If some form of [RFC #757](rust-lang/rfcs#757) ever lands, we'll switch to using that instead.
- Loading branch information