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>
This commit is contained in:
SpecificProtagonist 2025-02-26 00:46:21 +01:00 committed by GitHub
parent 36a2f7fdf1
commit 25cee420e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,6 +142,7 @@ macro_rules! define_label {
} }
} }
#[diagnostic::do_not_recommend]
impl $label_trait_name for $crate::intern::Interned<dyn $label_trait_name> { impl $label_trait_name for $crate::intern::Interned<dyn $label_trait_name> {
$($interned_extra_methods_impl)* $($interned_extra_methods_impl)*