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 `bool: FromRequest<(), axum_core::extract::private
--> tests/debug_handler/fail/argument_not_extractor.rs:4:24
|
4 | async fn handler(_foo: bool) {}
| ^^^^ the trait `FromRequestParts<()>` is not implemented for `bool`
| ^^^^ the trait `FromRequestParts<()>` is not implemented for `bool`, which is required by `bool: FromRequest<(), _>`
|
= note: Function argument is not a valid axum extractor.
See `https://docs.rs/axum/0.8/axum/extract/index.html` for details