chore: use a more recent nightly for axum-macros tests
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Pedersen · committed by David Pedersen · parent 9b203a8 · Browse files · 7 files·+21 added−17 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+21 added−17 removed
- tests:+20 added−16 removed
- other:+1 added−1 removed
Provenance
- Commit
c853e44- Tree
6cbd5f4- Author
David Pedersen <david.pdrsn@gmail.com>- Committer
David Pedersen <david.pdrsn@gmail.com>- Parent
9b203a8
7 files changed+21 added−17 removed
modified:axum-macros/tests/debug_handler/fail/json_not_deserialize.stderr-1 removed
21 unmodified lines22 (T0, T1, T2)23 and $N others24 = note: required for `Struct` to implement `serde_core::de::DeserializeOwned`25 = note: required for `Json<Struct>` to implement `FromRequest<()>`26- = help: see issue #4821426 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable27 |28 1 + #![feature(trivial_bounds)]29 |31 unmodified linesmodified:axum-macros/tests/debug_handler/fail/wrong_return_tuple.stderr-1 removed
24 unmodified lines25 (T1, T2, T3, T4, T5, T6)26 (T1, T2, T3, T4, T5, T6, T7)27 (T1, T2, T3, T4, T5, T6, T7, T8)28 and $N others29- = help: see issue #4821429 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable30 |31 3 + #![feature(trivial_bounds)]32 |28 unmodified linesmodified:axum-macros/tests/from_request/fail/generic_without_via_rejection.stderr+5 added-2 removed
14 unmodified lines15 = note: Consider using `#[axum::debug_handler]` to improve the error message16 note: required by a bound in `axum::routing::get`17 --> $WORKSPACE/axum/src/routing/method_routing.rs18 |19+ | H: Handler<T, S>,20+ | ^^^^^^^^^^^^^ required by this bound in `get`21+...22 | top_level_handler_fn!(get, GET);20- | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^23+ | -------------------------------24 | | |25 | | required by a bound in this function23- | required by this bound in `get`26+ | in this macro invocation27 = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)modified:axum-macros/tests/from_request/fail/generic_without_via.stderr+5 added-2 removed
14 unmodified lines15 = note: Consider using `#[axum::debug_handler]` to improve the error message16 note: required by a bound in `axum::routing::get`17 --> $WORKSPACE/axum/src/routing/method_routing.rs18 |19+ | H: Handler<T, S>,20+ | ^^^^^^^^^^^^^ required by this bound in `get`21+...22 | top_level_handler_fn!(get, GET);20- | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^23+ | -------------------------------24 | | |25 | | required by a bound in this function23- | required by this bound in `get`26+ | in this macro invocation27 = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)modified:axum-macros/tests/from_request/fail/override_rejection_on_enum_without_via.stderr+10 added-4 removed
14 unmodified lines15 = note: Consider using `#[axum::debug_handler]` to improve the error message16 note: required by a bound in `axum::routing::get`17 --> $WORKSPACE/axum/src/routing/method_routing.rs18 |19+ | H: Handler<T, S>,20+ | ^^^^^^^^^^^^^ required by this bound in `get`21+...22 | top_level_handler_fn!(get, GET);20- | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^23+ | -------------------------------24 | | |25 | | required by a bound in this function23- | required by this bound in `get`26+ | in this macro invocation27 = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)28 29 error[E0277]: the trait bound `fn(Result<MyExtractor, MyRejection>) -> impl Future<Output = ()> {handler_result}: Handler<_, _>` is not satisfied30 --> tests/from_request/fail/override_rejection_on_enum_without_via.rs:10:646 unmodified lines37 = note: Consider using `#[axum::debug_handler]` to improve the error message38 note: required by a bound in `MethodRouter::<S>::post`39 --> $WORKSPACE/axum/src/routing/method_routing.rs40 |41+ | H: Handler<T, S>,42+ | ^^^^^^^^^^^^^ required by this bound in `MethodRouter::<S>::post`43+...44 | chained_handler_fn!(post, POST);39- | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^45+ | -------------------------------46 | | |47 | | required by a bound in this associated function42- | required by this bound in `MethodRouter::<S>::post`48+ | in this macro invocation49 = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)modified:axum-macros/tests/from_request/fail/parts_extracting_body.stderr-6 removed
14 unmodified lines15 `Method` implements `FromRequestParts<S>`16 `OriginalUri` implements `FromRequestParts<S>`17 `Query<T>` implements `FromRequestParts<S>`18 and $N others19-20-error[E0282]: type annotations needed21- --> tests/from_request/fail/parts_extracting_body.rs:5:1122- |23-5 | body: String,24- | ^^^^^^ cannot infer typemodified:axum-macros/rust-toolchain+1 added-1 removed
1-nightly-2025-09-281+nightly-2026-05-04