File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -614,6 +614,7 @@ impl<T, const N: usize> Cell<[T; N]> {
614614/// A mutable memory location with dynamically checked borrow rules
615615///
616616/// See the [module-level documentation](self) for more.
617+ #[ rustc_diagnostic_item = "RefCell" ]
617618#[ stable( feature = "rust1" , since = "1.0.0" ) ]
618619pub struct RefCell < T : ?Sized > {
619620 borrow : Cell < BorrowFlag > ,
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ use crate::fmt;
9595/// [loader lock]: https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices
9696/// [`JoinHandle::join`]: crate::thread::JoinHandle::join
9797/// [`with`]: LocalKey::with
98+ #[ rustc_diagnostic_item = "LocalKey" ]
9899#[ stable( feature = "rust1" , since = "1.0.0" ) ]
99100pub struct LocalKey < T : ' static > {
100101 // This outer `LocalKey<T>` type is what's going to be stored in statics,
You can’t perform that action at this time.
0 commit comments