We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$body
literal
1 parent fd60c84 commit 287bd14Copy full SHA for 287bd14
axum-core/src/macros.rs
@@ -38,7 +38,7 @@ macro_rules! __log_rejection {
38
macro_rules! __define_rejection {
39
(
40
#[status = $status:ident]
41
- #[body = $body:expr]
+ #[body = $body:literal]
42
$(#[$m:meta])*
43
pub struct $name:ident;
44
) => {
@@ -89,7 +89,7 @@ macro_rules! __define_rejection {
89
90
91
92
93
94
pub struct $name:ident (Error);
95
0 commit comments