Skip to content

Commit d9a3457

Browse files
committed
fix AppLabel compile error
1 parent b4be682 commit d9a3457

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/bevy_derive/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,7 @@ pub fn derive_app_label(input: TokenStream) -> TokenStream {
8989
let input = syn::parse_macro_input!(input as syn::DeriveInput);
9090
let mut trait_path = BevyManifest::default().get_path("bevy_app");
9191
trait_path.segments.push(format_ident!("AppLabel").into());
92-
derive_label(input, &trait_path, "app_label")
92+
let mut id_path = BevyManifest::default().get_path("bevy_app");
93+
id_path.segments.push(format_ident!("AppLabelId").into());
94+
derive_label(input, &trait_path, &id_path, "app_label")
9395
}

0 commit comments

Comments
 (0)