axum/axum-macros/tests/from_request/fail
Jonas Platte 7cbacd1433
Improve the error message for state type inference failure in FromRequest(Parts) derive macro (#1432)
* Add a dedicated error message for state type inference issues

* Generate valid code even if state type can't be inferred

* Also error on state type inference for debug_handler
2022-10-09 20:25:05 +02:00
..
double_via_attr.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
double_via_attr.stderr Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
enum_from_request_ident_in_variant.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_from_request_ident_in_variant.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_from_request_on_variant.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_from_request_on_variant.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_no_via.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_no_via.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
generic.rs Move axum-debug into axum-macros (#724) 2022-01-26 23:27:22 +01:00
generic.stderr Support using a different rejection for #[derive(FromRequest)] (#1256) 2022-08-12 16:05:27 +00:00
generic_without_via.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
generic_without_via.stderr Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
generic_without_via_rejection.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
generic_without_via_rejection.stderr Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
not_enum_or_struct.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
not_enum_or_struct.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
override_rejection_on_enum_without_via.rs Support using a different rejection for #[derive(FromRequest)] (#1256) 2022-08-12 16:05:27 +00:00
override_rejection_on_enum_without_via.stderr Refactor proc-macro attribute parsing (#1369) 2022-09-12 20:10:58 +02:00
parts_extracting_body.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
parts_extracting_body.stderr Remove ContentLengthLimit (#1400) 2022-09-24 11:29:53 +00:00
state_infer_multiple_different_types.rs Support State with #[derive(FromRequest[Parts])] (#1391) 2022-09-23 23:50:50 +02:00
state_infer_multiple_different_types.stderr Improve the error message for state type inference failure in FromRequest(Parts) derive macro (#1432) 2022-10-09 20:25:05 +02:00
unknown_attr_container.rs Support opt-out of extra derived traits for rejections for #[derive(FromRequest)] (#729) 2022-01-28 09:54:38 +00:00
unknown_attr_container.stderr Support State with #[derive(FromRequest[Parts])] (#1391) 2022-09-23 23:50:50 +02:00
unknown_attr_field.rs Support opt-out of extra derived traits for rejections for #[derive(FromRequest)] (#729) 2022-01-28 09:54:38 +00:00
unknown_attr_field.stderr Support opt-out of extra derived traits for rejections for #[derive(FromRequest)] (#729) 2022-01-28 09:54:38 +00:00
via_on_container_and_field.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
via_on_container_and_field.stderr Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00