Skip to content

Commit 25cee42

Browse files
do_not_recommend interned Labels (#17950)
# Objective Follow up on #17441 now that `do_not_recommend` is stable. Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
1 parent 36a2f7f commit 25cee42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_ecs/src/label.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ macro_rules! define_label {
142142
}
143143
}
144144

145+
#[diagnostic::do_not_recommend]
145146
impl $label_trait_name for $crate::intern::Interned<dyn $label_trait_name> {
146147

147148
$($interned_extra_methods_impl)*

0 commit comments

Comments
 (0)