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:
parent
36a2f7fdf1
commit
25cee420e4
@ -142,6 +142,7 @@ macro_rules! define_label {
|
||||
}
|
||||
}
|
||||
|
||||
#[diagnostic::do_not_recommend]
|
||||
impl $label_trait_name for $crate::intern::Interned<dyn $label_trait_name> {
|
||||
|
||||
$($interned_extra_methods_impl)*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user