Revert "feat: add #[diagnostic::on_unimplemented] to IntoResponse and IntoResponseParts (#3723)"

This reverts commit 7bf2f675ef.
This commit is contained in:
David Pedersen
2026-05-05 15:04:03 +02:00
parent c2bf6db649
commit b7d082a7a9
16 changed files with 50 additions and 115 deletions
@@ -4,7 +4,7 @@ error: future cannot be sent between threads safely
3 | #[debug_handler]
| ^^^^^^^^^^^^^^^^ future returned by `handler` is not `Send`
|
= help: within `impl Future<Output = ()>`, the trait `Send` is not implemented for `Rc<()>`
= help: within `impl Future<Output = ()>`, the trait `Send` is not implemented for `Rc<()>`, which is required by `impl Future<Output = ()>: Send`
note: future is not `Send` as this value is used across an await
--> tests/debug_handler/fail/not_send.rs:6:14
|