File tree 1 file changed +0
-36
lines changed
1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -448,22 +448,6 @@ mod prim_unit {}
448
448
#[ doc( hidden) ]
449
449
impl ( ) { }
450
450
451
- // Fake impl that's only really used for docs.
452
- #[ cfg( doc) ]
453
- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
454
- impl Clone for ( ) {
455
- fn clone ( & self ) -> Self {
456
- loop { }
457
- }
458
- }
459
-
460
- // Fake impl that's only really used for docs.
461
- #[ cfg( doc) ]
462
- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
463
- impl Copy for ( ) {
464
- // empty
465
- }
466
-
467
451
#[ rustc_doc_primitive = "pointer" ]
468
452
#[ doc( alias = "ptr" ) ]
469
453
#[ doc( alias = "*" ) ]
@@ -1690,23 +1674,3 @@ mod prim_fn {}
1690
1674
// See src/librustdoc/passes/collect_trait_impls.rs:collect_trait_impls
1691
1675
#[ doc( hidden) ]
1692
1676
impl < Ret , T > fn ( T ) -> Ret { }
1693
-
1694
- // Fake impl that's only really used for docs.
1695
- #[ cfg( doc) ]
1696
- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1697
- #[ doc( fake_variadic) ]
1698
- /// This trait is implemented on function pointers with any number of arguments.
1699
- impl < Ret , T > Clone for fn ( T ) -> Ret {
1700
- fn clone ( & self ) -> Self {
1701
- loop { }
1702
- }
1703
- }
1704
-
1705
- // Fake impl that's only really used for docs.
1706
- #[ cfg( doc) ]
1707
- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1708
- #[ doc( fake_variadic) ]
1709
- /// This trait is implemented on function pointers with any number of arguments.
1710
- impl < Ret , T > Copy for fn ( T ) -> Ret {
1711
- // empty
1712
- }
You can’t perform that action at this time.
0 commit comments