Fix codegen test.

This commit is contained in:
Stephen Chung 2021-02-13 22:19:46 +08:00
parent 3650b04c38
commit f498dc81a3

View File

@ -39,6 +39,7 @@ macro_rules! gen_conversion_as_functions {
} }
} }
#[cfg(feature = "decimal")]
macro_rules! gen_conversion_into_functions { macro_rules! gen_conversion_into_functions {
($root:ident => $func_name:ident ( $($arg_type:ident),+ ) -> $result_type:ty) => { ($root:ident => $func_name:ident ( $($arg_type:ident),+ ) -> $result_type:ty) => {
pub mod $root { $(pub mod $arg_type { pub mod $root { $(pub mod $arg_type {