error_tree/
lib.rs

1#![allow(unused_variables)]
2#![allow(unused_imports)]
3#![allow(dead_code)]
4extern crate proc_macro;
5
6#[macro_use] mod imports; use imports::*;
7
8xp!{conversion_chain}
9xp!{partial_eq}
10xp!{error_enum}
11xp!{error_field}
12xp!{error_tree_visitor}
13xp!{error_tree}
14xp!{error_variant}
15xp!{errors}
16xp!{from_impl_generation_config}
17xp!{from_impl_generation_config_emitter}
18xp!{types}
19xp!{validate}
20xp!{type_key}
21
22#[proc_macro]
23pub fn error_tree(input: TokenStream) -> TokenStream {
24
25    let error_tree = parse_macro_input!(input as ErrorTree);
26
27    error_tree.into_token_stream().into()
28}