mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-18 00:00:15 +02:00
The things are also covered by the doc tests but this also gives us assertions on the errors produced, which is the whole point of this crate :)
6 lines
104 B
Plaintext
6 lines
104 B
Plaintext
error: handlers must be async functions
|
|
--> tests/fail/not_async.rs:4:1
|
|
|
|
|
4 | fn handler() {}
|
|
| ^^
|