Skip to content

Commit e09e691

Browse files
shanecelismakspll
authored andcommitted
bug: Derive macro without explicit import.
The derive macro `GetTypeDependencies` required the `bevy_mod_scripting_core` to be an explicit dependency. I altered it to refer to `::bevy_mod_scripting::core` instead of `bevy_mod_scripting_core` so that it works with the usual dependency of `bevy_mod_scripting`.
1 parent 87d1f14 commit e09e691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_mod_scripting_derive/src/derive/get_type_dependencies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ struct Args {
119119

120120
impl Args {
121121
fn parse(attrs: &[syn::Attribute]) -> syn::Result<Self> {
122-
let mut bms_core_path = parse_quote!(bevy_mod_scripting_core);
122+
let mut bms_core_path = parse_quote!(::bevy_mod_scripting::core);
123123
let mut underlying = None;
124124
let mut dont_recurse = false;
125125

0 commit comments

Comments
 (0)