File tree 2 files changed +6
-6
lines changed
library/alloc/src/collections/btree
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1556,7 +1556,7 @@ fn test_clone_from() {
1556
1556
}
1557
1557
1558
1558
#[ allow( dead_code) ]
1559
- fn test_variance ( ) {
1559
+ fn assert_covariance ( ) {
1560
1560
fn map_key < ' new > ( v : BTreeMap < & ' static str , ( ) > ) -> BTreeMap < & ' new str , ( ) > {
1561
1561
v
1562
1562
}
@@ -1615,7 +1615,7 @@ fn test_variance() {
1615
1615
}
1616
1616
1617
1617
#[ allow( dead_code) ]
1618
- fn test_sync ( ) {
1618
+ fn assert_sync ( ) {
1619
1619
fn map < T : Sync > ( v : & BTreeMap < T , T > ) -> impl Sync + ' _ {
1620
1620
v
1621
1621
}
@@ -1684,7 +1684,7 @@ fn test_sync() {
1684
1684
}
1685
1685
1686
1686
#[ allow( dead_code) ]
1687
- fn test_send ( ) {
1687
+ fn assert_send ( ) {
1688
1688
fn map < T : Send > ( v : BTreeMap < T , T > ) -> impl Send {
1689
1689
v
1690
1690
}
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ fn test_recovery() {
513
513
}
514
514
515
515
#[ allow( dead_code) ]
516
- fn test_variance ( ) {
516
+ fn assert_covariance ( ) {
517
517
fn set < ' new > ( v : BTreeSet < & ' static str > ) -> BTreeSet < & ' new str > {
518
518
v
519
519
}
@@ -530,7 +530,7 @@ fn test_variance() {
530
530
}
531
531
532
532
#[ allow( dead_code) ]
533
- fn test_sync ( ) {
533
+ fn assert_sync ( ) {
534
534
fn set < T : Sync > ( v : & BTreeSet < T > ) -> impl Sync + ' _ {
535
535
v
536
536
}
@@ -569,7 +569,7 @@ fn test_sync() {
569
569
}
570
570
571
571
#[ allow( dead_code) ]
572
- fn test_send ( ) {
572
+ fn assert_send ( ) {
573
573
fn set < T : Send > ( v : BTreeSet < T > ) -> impl Send {
574
574
v
575
575
}
You can’t perform that action at this time.
0 commit comments