Closed venhelhardt closed 2 weeks ago
Welcome, new contributor!
Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨
@NthTensor I definitely disagree with you on the difficulty here :) This is a standard bug fix / best practice for macros, and is a single line of changes.
Good to know. Wasn't sure since it was in a macro.
Objective
Describe the objective or issue this PR addresses. Use the fully qualified name for
Component
in therequire
attributeIf you're fixing a specific issue, say "Fixes #X". Fixes #16377
Solution
Component
in therequire
attribute, i.e.,<#ident as #bevy_ecs_path::component::Component>
Testing
cargo run -p ci -- lints
cargo run -p ci -- compile
cargo run -p ci -- test
[derive(::bevy::ecs::component::Component)]
[require(A)]
pub struct B;