We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2be805 commit 6fcadb1Copy full SHA for 6fcadb1
core/src/hash/mod.rs
@@ -633,6 +633,7 @@ impl<H: Hasher + ?Sized> Hasher for &mut H {
633
///
634
/// [`build_hasher`]: BuildHasher::build_hasher
635
/// [`HashMap`]: ../../std/collections/struct.HashMap.html
636
+#[cfg_attr(not(test), rustc_diagnostic_item = "BuildHasher")]
637
#[stable(since = "1.7.0", feature = "build_hasher")]
638
pub trait BuildHasher {
639
/// Type of the hasher that will be created.
0 commit comments