Fix no_function build.

This commit is contained in:
Stephen Chung
2020-11-16 23:25:19 +08:00
parent 699220057f
commit 7ef3bd6b20
6 changed files with 15 additions and 13 deletions

View File

@@ -1,13 +1,13 @@
//! Module defining interfaces to native-Rust functions.
use crate::ast::ScriptFnDef;
use crate::ast::{FnAccess, ScriptFnDef};
use crate::engine::Imports;
use crate::plugin::PluginFunction;
use crate::stdlib::{boxed::Box, convert::TryFrom, fmt, iter::empty, mem, string::String};
use crate::token::is_valid_identifier;
use crate::{
calc_script_fn_hash, Dynamic, Engine, EvalAltResult, EvalContext, FnAccess, ImmutableString,
Module, StaticVec, NO_POS,
calc_script_fn_hash, Dynamic, Engine, EvalAltResult, EvalContext, ImmutableString, Module,
StaticVec, NO_POS,
};
#[cfg(not(feature = "sync"))]