Update Cargo.lock and examples/Cargo.lock (#3643)

This commit is contained in:
Jonas Platte
2026-02-03 23:38:36 +01:00
committed by GitHub
parent 7961711fc7
commit f8e0e6d025
7 changed files with 1149 additions and 1378 deletions
Generated
+428 -524
View File
File diff suppressed because it is too large Load Diff
@@ -7,7 +7,7 @@ error: #[derive(FromRequest)] only supports generics when used with #[from_reque
error[E0277]: the trait bound `fn(Extractor<()>) -> impl Future<Output = ()> {foo}: Handler<_, _>` is not satisfied error[E0277]: the trait bound `fn(Extractor<()>) -> impl Future<Output = ()> {foo}: Handler<_, _>` is not satisfied
--> tests/from_request/fail/generic_without_via.rs:10:44 --> tests/from_request/fail/generic_without_via.rs:10:44
| |
10 | _ = Router::<()>::new().route("/", get(foo)); 10 | _ = Router::<()>::new().route("/", get(foo));
| --- ^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Extractor<()>) -> impl Future<Output = ()> {foo}` | --- ^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Extractor<()>) -> impl Future<Output = ()> {foo}`
| | | |
| required by a bound introduced by this call | required by a bound introduced by this call
@@ -7,7 +7,7 @@ error: #[derive(FromRequest)] only supports generics when used with #[from_reque
error[E0277]: the trait bound `fn(Extractor<()>) -> impl Future<Output = ()> {foo}: Handler<_, _>` is not satisfied error[E0277]: the trait bound `fn(Extractor<()>) -> impl Future<Output = ()> {foo}: Handler<_, _>` is not satisfied
--> tests/from_request/fail/generic_without_via_rejection.rs:11:44 --> tests/from_request/fail/generic_without_via_rejection.rs:11:44
| |
11 | _ = Router::<()>::new().route("/", get(foo)); 11 | _ = Router::<()>::new().route("/", get(foo));
| --- ^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Extractor<()>) -> impl Future<Output = ()> {foo}` | --- ^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Extractor<()>) -> impl Future<Output = ()> {foo}`
| | | |
| required by a bound introduced by this call | required by a bound introduced by this call
@@ -7,7 +7,7 @@ error: cannot use `rejection` without `via`
error[E0277]: the trait bound `fn(MyExtractor) -> impl Future<Output = ()> {handler}: Handler<_, _>` is not satisfied error[E0277]: the trait bound `fn(MyExtractor) -> impl Future<Output = ()> {handler}: Handler<_, _>` is not satisfied
--> tests/from_request/fail/override_rejection_on_enum_without_via.rs:10:50 --> tests/from_request/fail/override_rejection_on_enum_without_via.rs:10:50
| |
10 | let _: Router = Router::new().route("/", get(handler).post(handler_result)); 10 | let _: Router = Router::new().route("/", get(handler).post(handler_result));
| --- ^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(MyExtractor) -> impl Future<Output = ()> {handler}` | --- ^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(MyExtractor) -> impl Future<Output = ()> {handler}`
| | | |
| required by a bound introduced by this call | required by a bound introduced by this call
@@ -26,7 +26,7 @@ note: required by a bound in `axum::routing::get`
error[E0277]: the trait bound `fn(Result<MyExtractor, MyRejection>) -> impl Future<Output = ()> {handler_result}: Handler<_, _>` is not satisfied error[E0277]: the trait bound `fn(Result<MyExtractor, MyRejection>) -> impl Future<Output = ()> {handler_result}: Handler<_, _>` is not satisfied
--> tests/from_request/fail/override_rejection_on_enum_without_via.rs:10:64 --> tests/from_request/fail/override_rejection_on_enum_without_via.rs:10:64
| |
10 | let _: Router = Router::new().route("/", get(handler).post(handler_result)); 10 | let _: Router = Router::new().route("/", get(handler).post(handler_result));
| ---- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Result<MyExtractor, MyRejection>) -> impl Future<Output = ()> {handler_result}` | ---- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Result<MyExtractor, MyRejection>) -> impl Future<Output = ()> {handler_result}`
| | | |
| required by a bound introduced by this call | required by a bound introduced by this call
+653 -786
View File
File diff suppressed because it is too large Load Diff