Skip to content

Commit 7377d85

Browse files
fix diagnostics warning
1 parent 512317f commit 7377d85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/bevy_ecs/src/label.rs

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

145+
#[expect(clippy::allow_attributes, reason = "Expect would break upon stabilization")]
146+
#[allow(unknown_or_malformed_diagnostic_attributes,
147+
reason = "do_not_recommend is not stable yet"
148+
)]
145149
#[diagnostic::do_not_recommend]
146150
impl $label_trait_name for $crate::intern::Interned<dyn $label_trait_name> {
147151

0 commit comments

Comments
 (0)