Fix no_std build.

This commit is contained in:
Stephen Chung 2021-02-21 14:41:20 +08:00
parent 4120e3c88e
commit 0b49865f29

View File

@ -366,7 +366,7 @@ impl Engine {
) -> Result<Dynamic, Box<EvalAltResult>> {
#[inline(always)]
fn make_error(
name: String,
name: crate::stdlib::string::String,
fn_def: &crate::ast::ScriptFnDef,
state: &State,
err: Box<EvalAltResult>,