Add diagnostic items
This commit is contained in:
parent
4a6e67ead7
commit
eada4d1c45
6 changed files with 10 additions and 0 deletions
|
@ -310,6 +310,7 @@ mod cache_aligned;
|
|||
/// println!("{}", recv.recv().unwrap()); // Received after 2 seconds
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "Receiver")]
|
||||
pub struct Receiver<T> {
|
||||
inner: UnsafeCell<Flavor<T>>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue