mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Update Cargo.lock and examples/Cargo.lock (#3643)
This commit is contained in:
Generated
+428
-524
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
|
||||||
|
|||||||
Generated
+653
-786
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user