mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
e63443d536
As discussed with @aturon, this PR removes the `Send` bound from `std::error::Error`, allowing us to implement `Error` for error types containing non-`Send` types. Current examples include `PoisonError` and `TryLockError` from `std::sync` which contain a Guard that we don't want sent between tasks. [breaking-change]