diff options
author | bors <bors@rust-lang.org> | 2023-05-16 04:03:26 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-05-16 04:03:26 +0000 |
commit | 3ea9ad532474343426e564b997891e459cda89a6 (patch) | |
tree | 654fc3cec3be01ae0690c87de6c5aa9ec074acbd /tests/rustdoc-js-std/parser-errors.js | |
parent | 76e79ca0260a95bd3993c4738df6f9d7c79676ea (diff) | |
parent | af5de855a33256ea6125f5654296698e507f86e0 (diff) | |
download | rust-3ea9ad532474343426e564b997891e459cda89a6.tar.gz |
Auto merge of #111134 - GilShoshan94:remove-send-bound-on-error, r=dtolnay
Remove unnecessary Send bound
Hi,
While working on a [PR on Tokio](https://github.com/tokio-rs/tokio/pull/5666), I took inspiration from the std channel mpsc and stumbled on a `Send` bound for a `Error` impl.
Tokio's maintainer `@Darksonn` pointed out to me that `Error` used to required the `Send` bound long time ago (here https://github.com/rust-lang/rust/pull/23541).
In the meantime, the `Send` bound `Error` got removed (see https://github.com/rust-lang/rust/pull/21312 and https://github.com/rust-lang/rust/pull/23799).
So here a PR to removed this bound for `SendError<T>`, `TrySendError<T>` and `SendTimeoutError<T>`.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions