Fix compile error
This commit is contained in:
parent
b395724561
commit
1745f68b7a
1 changed files with 1 additions and 2 deletions
|
@ -1,12 +1,11 @@
|
||||||
use inflector::cases::pascalcase::to_pascal_case;
|
use inflector::cases::pascalcase::to_pascal_case;
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use proc_macro2::{Ident, TokenStream};
|
use proc_macro2::{Ident, TokenStream};
|
||||||
use quote::format_ident;
|
use quote::{format_ident, ToTokens};
|
||||||
use quote::quote;
|
use quote::quote;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use syn::export::ToTokens;
|
|
||||||
use syn::{FnArg, ForeignItem, ForeignItemFn, Item, ReturnType};
|
use syn::{FnArg, ForeignItem, ForeignItemFn, Item, ReturnType};
|
||||||
|
|
||||||
type CGResult<T> = Result<T, Box<dyn Error>>;
|
type CGResult<T> = Result<T, Box<dyn Error>>;
|
||||||
|
|
Loading…
Reference in a new issue