mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-27 01:31:23 +01:00
c7b8813c47
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 :)
5 lines
88 B
Text
5 lines
88 B
Text
error: expected `fn`
|
|
--> tests/fail/not_a_function.rs:4:1
|
|
|
|
|
4 | struct A;
|
|
| ^^^^^^
|