mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-03 00:00:07 +02:00
feat: add #[diagnostic::on_unimplemented] to IntoResponse and IntoResponseParts (#3723)
This commit is contained in:
committed by
David Pedersen
parent
db96597f47
commit
7bf2f675ef
@@ -1,11 +1,11 @@
|
||||
error: Cannot return tuples with more than 17 elements
|
||||
--> tests/debug_handler/fail/output_tuple_too_many.rs:4:20
|
||||
|
|
||||
4 | async fn handler() -> (
|
||||
4 | async fn handler() -> (
|
||||
| ____________________^
|
||||
5 | | axum::http::StatusCode,
|
||||
6 | | AppendHeaders<[(axum::http::HeaderName, &'static str); 1]>,
|
||||
7 | | AppendHeaders<[(axum::http::HeaderName, &'static str); 1]>,
|
||||
5 | | axum::http::StatusCode,
|
||||
6 | | AppendHeaders<[(axum::http::HeaderName, &'static str); 1]>,
|
||||
7 | | AppendHeaders<[(axum::http::HeaderName, &'static str); 1]>,
|
||||
... |
|
||||
23 | | axum::http::StatusCode,
|
||||
24 | | ) {
|
||||
|
||||
Reference in New Issue
Block a user