]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/collections/hash/set.rs
More diagnostic items for Clippy usage
[rust.git] / src / libstd / collections / hash / set.rs
index 1ad99f03703dd2da15616898a956d59b99d2efb2..c1a57f2ce6129b27b74426136ee7afeee210ca4b 100644 (file)
 /// [`PartialEq`]: ../../std/cmp/trait.PartialEq.html
 /// [`RefCell`]: ../../std/cell/struct.RefCell.html
 #[derive(Clone)]
+#[cfg_attr(not(test), rustc_diagnostic_item = "hashset_type")]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct HashSet<T, S = RandomState> {
     map: HashMap<T, (), S>,