diff options
| author | GnomedDev <david2005thomas@gmail.com> | 2024-09-18 16:59:57 +0100 |
|---|---|---|
| committer | GnomedDev <david2005thomas@gmail.com> | 2024-09-18 17:20:44 +0100 |
| commit | a18564c1987e9c6009884af09092b4c2cd2dbbe1 (patch) | |
| tree | 5d73df704bafa11dbb80bad3c65ef5bf17ac3f10 /library/std/src | |
| parent | aaed38b2a631dfc593454abf471d75d84033773e (diff) | |
[Clippy] Swap `manual_retain` to use diagnostic items instead of paths
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/collections/hash/set.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/collections/hash/set.rs b/library/std/src/collections/hash/set.rs index d611353b0d3..e63d90645f7 100644 --- a/library/std/src/collections/hash/set.rs +++ b/library/std/src/collections/hash/set.rs @@ -187,6 +187,7 @@ impl<T, S> HashSet<T, S> { #[inline] #[rustc_lint_query_instability] #[stable(feature = "rust1", since = "1.0.0")] + #[cfg_attr(not(test), rustc_diagnostic_item = "hashset_iter")] pub fn iter(&self) -> Iter<'_, T> { Iter { base: self.base.iter() } } |
