forked from proxmox-mirrors/proxmox
formatting cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
ed503f689d
commit
169bf79c72
@ -15,7 +15,11 @@ mod types;
|
||||
mod api_macro;
|
||||
mod router_macro;
|
||||
|
||||
fn handle_error(mut item: proc_macro2::TokenStream, kind: &'static str, err: failure::Error) -> TokenStream {
|
||||
fn handle_error(
|
||||
mut item: proc_macro2::TokenStream,
|
||||
kind: &'static str,
|
||||
err: failure::Error,
|
||||
) -> TokenStream {
|
||||
match err.downcast::<syn::Error>() {
|
||||
Ok(err) => {
|
||||
let err: proc_macro2::TokenStream = err.to_compile_error().into();
|
||||
|
Loading…
Reference in New Issue
Block a user