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
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `NonCloneType: Clone` is not satisfied
--> tests/debug_handler/fail/extension_not_clone.rs:7:38
|
7 | async fn test_extension_non_clone(_: Extension<NonCloneType>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonCloneType`
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonCloneType`, which is required by `Extension<NonCloneType>: FromRequest<(), _>`
|
= help: the following other types implement trait `FromRequest<S, M>`:
Body