Fix no_optimize build.

This commit is contained in:
Stephen Chung
2020-11-16 23:32:44 +08:00
parent 7ef3bd6b20
commit 999a87f86e
4 changed files with 10 additions and 7 deletions

View File

@@ -3,6 +3,7 @@
use crate::dynamic::Variant;
use crate::engine::{EvalContext, Imports};
use crate::fn_native::{FnCallArgs, SendSync};
use crate::optimize::OptimizationLevel;
use crate::stdlib::{
any::{type_name, TypeId},
boxed::Box,
@@ -11,8 +12,7 @@ use crate::stdlib::{
};
use crate::utils::get_hasher;
use crate::{
scope::Scope, Dynamic, Engine, EvalAltResult, NativeCallContext, OptimizationLevel, ParseError,
AST, NO_POS,
scope::Scope, Dynamic, Engine, EvalAltResult, NativeCallContext, ParseError, AST, NO_POS,
};
#[cfg(not(feature = "no_index"))]