Eliminate parse_macro_input conflict in precompiled mode
This commit is contained in:
parent
0fb672a1ef
commit
b978854258
@ -77,7 +77,9 @@ mod internals;
|
||||
use proc_macro::TokenStream;
|
||||
#[cfg(precompiled)]
|
||||
use std::sync::atomic::AtomicBool;
|
||||
use syn::{parse_macro_input, DeriveInput};
|
||||
#[cfg(not(precompiled))]
|
||||
use syn::parse_macro_input;
|
||||
use syn::DeriveInput;
|
||||
|
||||
#[macro_use]
|
||||
mod bound;
|
||||
|
Loading…
x
Reference in New Issue
Block a user