Fix metadata build.
This commit is contained in:
parent
a7ff9fb24f
commit
1c3a07fe86
@ -160,8 +160,9 @@ impl From<&crate::module::FuncInfo> for FnMetadata {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<crate::ScriptFnMetadata<'_>> for FnMetadata {
|
#[cfg(not(feature = "no_function"))]
|
||||||
fn from(info: crate::ScriptFnMetadata) -> Self {
|
impl From<crate::ast::ScriptFnMetadata<'_>> for FnMetadata {
|
||||||
|
fn from(info: crate::ast::ScriptFnMetadata) -> Self {
|
||||||
Self {
|
Self {
|
||||||
namespace: FnNamespace::Global,
|
namespace: FnNamespace::Global,
|
||||||
access: info.access.into(),
|
access: info.access.into(),
|
||||||
|
Loading…
Reference in New Issue
Block a user