mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-18 00:00:15 +02:00
* Make `axum-debug` handle more cases * Only just trybuild tests on stable * revert changes to hello-world example * Remove a bit of duplication * return error on generics * address review feedback * Support associated functions with receiver or returns `Self` * fix indentation
6 lines
100 B
Plaintext
6 lines
100 B
Plaintext
error: Handlers must be `async fn`s
|
|
--> tests/fail/not_async.rs:4:1
|
|
|
|
|
4 | fn handler() {}
|
|
| ^^
|