Function
error_impl
(attr: TokenStream, item: TokenStream)
Source from the content-addressed store, hash-verified
| 36 | |
| 37 | #[proc_macro_attribute] |
| 38 | pub fn error_impl(attr: TokenStream, item: TokenStream) -> TokenStream { |
| 39 | let item = syn::parse_macro_input!(item); |
| 40 | error::error(attr, item).unwrap_or_else(|e| e.to_compile_error().into()) |
| 41 | } |
| 42 | |
| 43 | #[proc_macro_attribute] |
| 44 | pub fn middleware_impl(attr: TokenStream, item: TokenStream) -> TokenStream { |
Callers
nothing calls this directly
Tested by
no test coverage detected