@@ -371,7 +371,7 @@ impl<K, V, S> HashMap<K, V, S> {
371371 /// assert_eq!(vec, ["a", "b", "c"]);
372372 /// ```
373373 #[ inline]
374- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
374+ #[ rustc_lint_query_instability]
375375 #[ stable( feature = "map_into_keys_values" , since = "1.54.0" ) ]
376376 pub fn into_keys ( self ) -> IntoKeys < K , V > {
377377 IntoKeys { inner : self . into_iter ( ) }
@@ -449,7 +449,7 @@ impl<K, V, S> HashMap<K, V, S> {
449449 /// assert_eq!(vec, [1, 2, 3]);
450450 /// ```
451451 #[ inline]
452- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
452+ #[ rustc_lint_query_instability]
453453 #[ stable( feature = "map_into_keys_values" , since = "1.54.0" ) ]
454454 pub fn into_values ( self ) -> IntoValues < K , V > {
455455 IntoValues { inner : self . into_iter ( ) }
@@ -473,7 +473,7 @@ impl<K, V, S> HashMap<K, V, S> {
473473 /// println!("key: {} val: {}", key, val);
474474 /// }
475475 /// ```
476- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
476+ #[ rustc_lint_query_instability]
477477 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
478478 pub fn iter ( & self ) -> Iter < ' _ , K , V > {
479479 Iter { base : self . base . iter ( ) }
@@ -503,7 +503,7 @@ impl<K, V, S> HashMap<K, V, S> {
503503 /// println!("key: {} val: {}", key, val);
504504 /// }
505505 /// ```
506- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
506+ #[ rustc_lint_query_instability]
507507 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
508508 pub fn iter_mut ( & mut self ) -> IterMut < ' _ , K , V > {
509509 IterMut { base : self . base . iter_mut ( ) }
@@ -568,7 +568,7 @@ impl<K, V, S> HashMap<K, V, S> {
568568 /// assert!(a.is_empty());
569569 /// ```
570570 #[ inline]
571- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
571+ #[ rustc_lint_query_instability]
572572 #[ stable( feature = "drain" , since = "1.6.0" ) ]
573573 pub fn drain ( & mut self ) -> Drain < ' _ , K , V > {
574574 Drain { base : self . base . drain ( ) }
@@ -610,7 +610,7 @@ impl<K, V, S> HashMap<K, V, S> {
610610 /// assert_eq!(odds, vec![1, 3, 5, 7]);
611611 /// ```
612612 #[ inline]
613- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
613+ #[ rustc_lint_query_instability]
614614 #[ unstable( feature = "hash_drain_filter" , issue = "59618" ) ]
615615 pub fn drain_filter < F > ( & mut self , pred : F ) -> DrainFilter < ' _ , K , V , F >
616616 where
@@ -634,7 +634,7 @@ impl<K, V, S> HashMap<K, V, S> {
634634 /// assert_eq!(map.len(), 4);
635635 /// ```
636636 #[ inline]
637- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
637+ #[ rustc_lint_query_instability]
638638 #[ stable( feature = "retain_hash_collection" , since = "1.18.0" ) ]
639639 pub fn retain < F > ( & mut self , f : F )
640640 where
@@ -2001,7 +2001,7 @@ impl<'a, K, V, S> IntoIterator for &'a HashMap<K, V, S> {
20012001 type IntoIter = Iter < ' a , K , V > ;
20022002
20032003 #[ inline]
2004- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
2004+ #[ rustc_lint_query_instability]
20052005 fn into_iter ( self ) -> Iter < ' a , K , V > {
20062006 self . iter ( )
20072007 }
@@ -2013,7 +2013,7 @@ impl<'a, K, V, S> IntoIterator for &'a mut HashMap<K, V, S> {
20132013 type IntoIter = IterMut < ' a , K , V > ;
20142014
20152015 #[ inline]
2016- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
2016+ #[ rustc_lint_query_instability]
20172017 fn into_iter ( self ) -> IterMut < ' a , K , V > {
20182018 self . iter_mut ( )
20192019 }
@@ -2043,7 +2043,7 @@ impl<K, V, S> IntoIterator for HashMap<K, V, S> {
20432043 /// let vec: Vec<(&str, i32)> = map.into_iter().collect();
20442044 /// ```
20452045 #[ inline]
2046- #[ cfg_attr ( not ( bootstrap ) , rustc_lint_query_instability) ]
2046+ #[ rustc_lint_query_instability]
20472047 fn into_iter ( self ) -> IntoIter < K , V > {
20482048 IntoIter { base : self . base . into_iter ( ) }
20492049 }
0 commit comments