diff --git a/src/lib.rs b/src/lib.rs index 1dae5104..af902d9b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -135,7 +135,7 @@ pub use token::{get_next_token, parse_string_literal, InputStream, Token, Tokeni #[cfg(feature = "internals")] #[deprecated(note = "this type is volatile and may change")] -pub use parser::{Expr, ReturnType, ScriptFnDef, Stmt}; +pub use parser::{Expr, FnAccess, ReturnType, ScriptFnDef, Stmt}; #[cfg(feature = "internals")] #[deprecated(note = "this type is volatile and may change")] diff --git a/src/module.rs b/src/module.rs index 48a897e2..21e17977 100644 --- a/src/module.rs +++ b/src/module.rs @@ -18,7 +18,7 @@ use crate::stdlib::{ any::TypeId, boxed::Box, collections::HashMap, - fmt, + fmt, format, iter::empty, mem, num::NonZeroUsize,