This website requires JavaScript.
Explore
Register
Sign in
OpenSource
/
axum
Watch
1
Star
0
Fork
You've already forked axum
0
mirror of
https://github.com/tokio-rs/axum.git
synced
2024-12-13 10:20:44 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
6d01f3968e
axum
/
axum-debug
/
tests
/
fail
/
not_async.stderr
6 lines
100 B
Text
Raw
Normal View
History
Unescape
Escape
Make `axum-debug` handle more cases (#518) * 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
2021-11-19 21:32:07 +01:00
error: Handlers must be `async fn`s
Add `trybuild` tests for axum-debug (#501) 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 :)
2021-11-11 21:26:08 +01:00
--> tests/fail/not_async.rs:4:1
|
4 | fn handler() {}
| ^^
Reference in a new issue
Copy permalink